It's been a while since I've done this, but Hotrod is right. You need at least the wiring harness that came with the engine that matches the ECM you are using. As he said you need all the sensors for it.
If you have all this, then you need a wiring diagram for the ECM to tell you which wires are the grounds for the ECM (Seems like there are two for the TBI, but may be wrong). There should also be a wire to furnish constant bat voltage to the ECM as well as a switched batt supply into the ECM.
You can do an internet search for a pinout diagram using the ECMs numbers on the tag. Much better than relying on my memory.
With the wiring harness for the engine and ECM it really isn't hard to make the engine run correctly. When I do a swap like this I like to have the donor vehicle there so I can get everything off of it along with the engine. That way every thing matches.
You will need to adapt the fuel system as hotrod said. Again makes it easier to have the stuff from the donor vehicle.
I did this about a year ago on a 36 F..d. I did use an external pump with the correct rating and plumbed in a return line to the fuel tank.
Hope this helps.