Hi, and congratulations! It is so great that, while you were vacationing, you were also thinking of little homeless fur babies and are taking one home with you. What a lucky little guy he is to have stolen your hearts!!!
You have already received some good suggestions, so I will only add that after and in addition to whatever your vet suggests, do try to get him on as 'good' a diet as you can afford...free of chemicals, grains, etc...stuff dogs shouldn't eat...lol...organic, if possible, supplements, whatever to get him as healthy as possible. Coconut oil (organic, virgin) is good for them, also, and my Yorkies love it! Good health starts with a proper and nutritious, species bio-appropriate diet.
Enjoy your new baby, have a safe trip home, and don't forget to post photos of your special little guy!