* Automatic Transmission: The drain plug is typically located on the bottom of the transmission pan. You'll need to get under the truck to access it. The pan is usually fairly low and towards the front of the vehicle, but its exact position can vary slightly depending on the specific transmission model.
* Manual Transmission: Manual transmissions on Rangers usually don't have a drain plug in the traditional sense for the transmission itself. The transmission fluid (gear oil) is often accessed and changed by removing the fill plug, which is higher on the transmission case. You might still find a drain plug on the case, but it is less common than on automatics.
To find it: The best approach is to consult your 2002 Ford Ranger owner's manual. It will have a diagram showing the exact location and provide specific instructions. Alternatively, a repair manual specific to your year and model Ranger (including the transmission type) will provide detailed information, including pictures. Searching online for "2002 Ford Ranger [Automatic/Manual] transmission drain plug location" might also yield helpful images or videos.
Caution: Working underneath a vehicle can be dangerous. Always use jack stands and chocks to secure the vehicle properly before attempting any repairs.