Before purchasing, it's best to:
* Check the part numbers: Compare the fuel pump part numbers from a reputable parts store (like AutoZone, Advance Auto Parts, or NAPA) for both a 1999 and a 2000 Ranger XLT. If the numbers match, you're good to go.
* Visually inspect the pumps (if possible): If you can see both pumps, compare their physical dimensions and connector types to ensure they're compatible.
While the chances of compatibility are high due to the model and year proximity, always verifying the part numbers is the safest bet to avoid unnecessary work and expense.