To be sure, you should:
1. Consult a repair manual specific to your 1990 Ford Ranger's engine. This will provide diagrams and precise location information. A Haynes or Chilton manual is a good investment for this kind of information.
2. Look closely at the thermostat housing and surrounding area of the cylinder head. The sensor is usually a single-wire or two-wire sensor screwed into the engine block or cylinder head. It's often a smaller sensor than other components in the area.
3. Use your vehicle's identification number (VIN) to search online parts diagrams. Many online auto parts stores (like AutoZone, Advance Auto Parts, etc.) allow you to enter your VIN and view diagrams of your specific vehicle. This can help you pinpoint the sensor's location.
Without knowing your specific engine size, I can't give a more precise location. Using the above steps will help you find it reliably.