The wiring is very easy. It requires lots of reading on sites like
www.fordfuelinjection.com,
www.sbftech.com, and
www.veryuseful.com .
I recomend you purchase three things.
1. Find out what year your truck is, purchase an EVTM manual for it.
2. Find out what year your 5.0 wiring harness came out of, and what car. Purchase an EVTM for that year and model vehicle.
3. Purchase the Harwood manual mentioned earlier. It is based on the '93 Mustang harness. That's where the reading comes in. Thos other sites have TONS of simple, colourful diagrams that can show you the difference between YOUR Mustang Harness, and the '93 Harness that Harwood shows.
Your Mustang harness will likely have three main plug/connectors on it. (from inside kickpanel, beside ECU plug; and two from the engine bay)
Trace each wire in these connectors so you know what the are, and what they do. Label the wires. Cut off the connectors. Lay the harness out, extend any wires (likely the ones from the green 8-pin beside ECU) so they all meet in one spot.
Next,
Take the stock Ranger engine wiring harness, from the Main 42-pin bolt-together connection. Figure what every pin is, from the Harwood and your Ranger EVTM. Label them. Cut the wires from the Ranger connector, leaving some wire attatched to the plug.
Splice all the wires from the Mustang Harness to the Ranger engine harness main 42-pi connector. Done.
Alternately, you can re-pin the connector by taking it appart, but soldering should be equally good.
There will be un-used wires from the Ranger plug: MAF, injectors, etc. Simply terminate those circuits however you choose.
There will be a couple ways you need to be creative. You can leave the Ranger engine temp and oil pressure circuits attatched to the Ranger plug, or cut them off and run new ones. Does not matter. I would suggest leaving the Ranger trans harness attacted to the Main Ranger 42 pin connector. The trans- end off this can be modded to plug into the reverse lights of the new transmission. You won't use the Ranger O2's that are in there.
In the end, you will have an engine harness that looks very similar to the Mustang Harness you started with, but will now have the big Ranger connector on the end.
Some tips: Mustang pin 22 to your Ranger plug's pin for the fuel pump inertia switch will avoid and re-wiring, if your Ranger was orinally EFI.
That should explain most of it.