A substitute teacher living in his car got a birthday surprise of $27,000 from a former student