The Explorer will have ONE 42 pin main connector. (same connector as '95 and newer trucks, not sure about older trucks) This may or may not have pins that match an existing truck. You'll want wiring diagrams to compare. I'll assume there are other power and ground wires, as in the Mustang harnesses, other than the main connector.
As an Example, Mustang harnesses had numerous different plug setups, usually two in the engine bay, one near the ECU, and they differed in colors and pin locations. So there are more variable involved than just "plugging it in".
So, an EVTM for your donor year, and an EVTM for your Ranger, as well as a Harwood manual for your Ranger's year, and that will get you going in the right direction.