The transmission output speed sensor is located above the transmission bellhousing, near the rear of the engine. It is held in place by two 10mm bolts.
1998-2004 Dodge Dakota 5.2L/5.9L Automatic Transmission Speed Sensor Location
The transmission output speed sensor for automatic transmission equipped models is located on the left side of the transmission, directly above the transmission filter. It is held in place by a single 10mm bolt.