The 1999 Ford Ranger XLT's oil capacity depends on the engine it has. There were several engine options available that year. You
must check your owner's manual to find the exact oil capacity for your specific engine. The manual will tell you the number of quarts needed for an oil change.
Without knowing the engine size, I cannot give you a definitive answer.