If I left the US earlier this year, is my current visa in my passport still valid?
Resource
Yes, your existing student visa in your passport should remain valid for future use, until the expiration date printed. There is NOT a five-month rule to be concerned about regarding your visa. For reference, see the Homeland Security guidance: Do students need new visas?