How do you replace the thermostat located on a 1998 Ford Ranger?

Follow the upper radiator hose to the outlet/sensor housing then to the head. Remove the 2 bolts on holding the housing to access it.