On the 4.0 liter OHV engine it is on the passenger side of the engine
located below the oil filter
On a Ford Ranger , 3.0 liter V6 engine : The engine oil filter is on the drivers side of the engine
The switch is screwed into an oil filter adapter located at the oil filter. - Ford Ranger Pickups/Mazda Pickups Repair Manual
What year of Ford Ranger , and what engine size ?
It's the bright orange thing stocking out of the bottom of the engine.
Where is the oil filter located in a 1999 Ford Contour
Per Haynes Repair Manual #36071: The switch is screwed into an oil filter adapter located at the oil filter.
A 1997 Ford Ranger
Remove the old filter. Oil the gasket on the new filter and install. Tighten it 3/4 turn after it makes contact with the mounting surface.
Ford Ranger
2000'ford ranger pickup
On a Ford Ranger with the 3.0 liter " Vulcan " V6 engine : The engine oil filter is on the drivers side of the engine