Be aware what kind of ABS braking system you have when addressing this issue. If your Ranger is currently RWABS, and the Explorer is 4WABS, you will have to swap the 4WABS module over to maintain the signal from the VSS so it will operate the speedometer.
I changed my ECU, gauge cluster, and entire drivetrain (motor, trans, rear) from Ranger to Explorer. In the process I failed to swap the 4WABS module. It was only until later I discovered (with rwenzing's help) that the VSS signal is condition in the 4WABS module before being transmitted to the ECU and gauge. If you try to maintain RWABS, the signal from the VSS gets lost at the In-Line Connector by the brake booster. This will kill your Speedometer AND ODOMETER/TRIP METER. It will also effect the ABS system's functionality.
I have NOT looked into a RWABS to 4WABS swap. I'm almost certain the front brake lines and spindles would have to be swapped since they will be plumbed to the 4WABS module and must receive a signal from each front wheel as well. (spindles)
The good news is if your truck has 4WABS already, you can disregard everything I just said, quit worrying about that little sensor on the tail of the transmission, and Plug N Play!
The Black Beast 5.0
Better to Have Horsepower and not Need it, than to Need it and not Have it!
2000 Ranger Sport - 5.0L V8 - 8.8 LS rear