is the rear end of a 99 the same a a 02
Look on the drivers door frame "VIN" sticker for both vehicles to see if they have the same "code". There are 3 different axles offered for those years and you need to make sure you have the same gear ratio, unless you are going to swap "just gears" or the whole center carrier (which might require axles swap as well if the splines are different then the carrier).
Search Ford Ranger Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Ford Ranger Experts