The correct ECM for your application is a 1227165.
The wiring harness should have 2 connectors going to the ECM and not 3.
You probably have a harness for a TBI setup from a 1227747 which is what pugsy pictured and it wont run a TPI system correctly.
Seeing a few more pictures would help sort through this mess.
Fact is stranger than Fiction