Should one look at QA? Or look for a Junior Dev role?
If I were you, I would try my best to get a Jr. role at the company which you working at. A big advantage is that people know you, and you have trust with them. It will also be easier to roll back to TPM if things not work out.