Digital Transmission Range Sensor (DTR): Removal
WARNING: This page does not describe the selected car, but rather 8 other vehicles, including the 2004 Ford Pickup, 2004 Ford F550 Super Duty, 2004 Ford F450 Super Duty, 2004 Ford Excursion, and 2003 Ford Pickup. However, it is still accessible from the selected car via links, so may be relevant.
Place transmission in Neutral and set parking brake. Disconnect battery ground cable. Raise and support vehicle. Disconnect DTR sensor electrical connector. Disconnect shift cable at transmission. Remove 2 bolts from DTR sensor and remove sensor.