* 5 x 4.5 inches (5 x 114.3 mm): This is the *most common* bolt pattern for a 2002 Ford Ranger.
* 5 x 5 inches (5 x 127 mm): This is *less common*, but possible, depending on the specific model and options.
To be absolutely certain, you should check your owner's manual or the sticker on your driver's side doorjamb. This sticker will list the correct tire size and wheel specifications for your specific vehicle. Alternatively, you can visually inspect your existing wheel.