I was on F1 visa in the US during 2007-2015. After living in the US for 5 years, I filed income taxes as a resident alien for tax purposes for the years 2013, 2014 and 2015. Then I moved out of the US to work in a different country during 2016-2017. After two years, I will now be coming back to the US on J1 visa in March 2018.
Would my status be a resident alien for tax purposes when I am to file taxes in 2019? I am an Indian citizen. I have searched IRS pages for this but I am not sure if I still have correct answers.
-RD