Back when I was in grad school, I TA’ed a physics course with an older grad student in our department, and although he was technically in our department (Princeton Physics) under an advisor here, he was actually living in New York and working in NYU Applied Math / CS department doing ML research. I didn’t ask about the administrative details but it was pretty weird.