To find it, you'll need to look at the top of the engine, specifically the valve cover. The hose connected to the PCV valve will often run to the intake manifold.
Because there are several engine options for a 1999 Ford Ranger (2.3L, 2.5L, 3.0L, and 4.0L), a visual check of your specific engine is the best way to locate it. A repair manual specific to your engine size would provide the most accurate location.