Get the motor tested. If its good the you got other problems. The used transfer case could be worse than yours, find out what's wrong first, then explore your options. Do some homework first before you buy anything, if you got the transfer case off the truck and you can afford it, then take it to someone who is competent and can tell you exactly what's wrong with it. Check out YouTube and other websites and see if you can find more information about your transfer case. Information is free, so get lots of it.