There are usually two separate speeds sensors on a 1998 Dodge Ram. One is located on the rear of the automatic and one is located on the front of the automatic.
2, Before & after the catalytic converter.
1995-1999 3.9L, 5.2L, and 5.9L Dodge Ram 1500 has two O2 sensors. One upstream (before cat) and one downstream (after cat).
It has four oxygen sensors.
The 5.2L has two oxygen sensors.
THERE ARE 2