To save yourself some headaches, I would find a donor truck (same year as yours) with the 5.8 and take everything from that. That way you know all of the sensors, ecm, maf etc will all work together.
If you insist on using the mustang computer, get a wiring diagram of your truck and of the mustang you get the computer from. Compare the circuits, and pin locations to be sure they're the same. If your truck is an automatic, is the trans controlled by the computer as well? Not sure about the 94 up mustangs, but most of the older ones had the AOD automatics which were not electronically controlled. (AODE is electronically controlled) So if you put the older mustang computer in a truck that has an electronically operated trans, how would the trans operate? Just something to consider.
This might be a slim chance, maybe you could find a wrecked Lightning and use it for a swap.