Because of its location and the variations in transmission types, pinpointing the exact position without visually inspecting the transmission is difficult. You'll likely need to look underneath the vehicle, near the rear of the transmission, for a sensor with a single wire connector. It might be mounted on a bracket or directly on the housing. A service manual for your specific year and model Ranger would be extremely helpful in confirming the precise location and identifying the sensor itself.