To be certain, you should:
1. Consult your Jeep Cherokee's repair manual: This is the most reliable source. The manual will have diagrams showing the sensor's precise location.
2. Use a reliable online parts diagram: Many websites (like AutoZone, Advance Auto Parts, etc.) have searchable parts diagrams for your specific year, make, and model. Search for "1998 Jeep Cherokee coolant temperature sensor" and find a diagram that shows the engine bay.
3. Look for a single-wire sensor near the thermostat: The ECT sensor is usually a single-wire sensor, unlike other sensors in the area. It's often a smaller sensor than other things around the thermostat housing.
Be careful when searching: There are other temperature sensors in the engine bay (like the transmission fluid temperature sensor). Make sure you're looking for the Engine Coolant Temperature sensor specifically.
Remember to always disconnect the negative battery terminal before working on any electrical components.