2001 Jeep Grand Cherokee • 4.7L V8 4WD Automatic • 150,000 miles

I have a 2001 Jeep Grand Cherokee 4.7 limited. I have a transmission leak from a sensor on the right side, passenger side, just above the rear of the transmission pan(545rfe). I was told this was a speed sensor, so I bought one. The sensor plugs in and is held with a bolt. The speed sensor I bought has only two tabs or prongs. The wiring harness has four wires attached to a plug that has a red square lock you pull out and then unplug it from the sensor. What is this particular sensor that has a four wire plug to it? The speed sensors I've researched only show two prongs and are located on the left side of the transmission. What is this sensor?

Thank you for helping.

January 22, 2014.

Only one I see with more than two sires is a pressure line sensor but it has 3 wires see pic.

Jan 23, 2014.