Welcome. My name is XXXXX XXXXX it will be my pleasure to assist you with your tax question today.
In order to be considered a resident of the US for tax purposes, you must meet the substantial presence test for the calendar year.
To meet this test, you must be physically present in the United States on at least:
31 days during the current year, and
183 days during the 3-year period that includes the current year and the 2 years immediately before that, counting:
- All the days you were present in the current year, and
- 1/3 of the days you were present in the first year before the current year, and
- 1/6 of the days you were present in the second year before the current year.
Based on the information contained in your question, you would file a Non-Resident Tax return. Please see the following links for Form 1040NR and its instructions.
If you have any questions after reviewing the information in these links, please do not hesitate to come back to me here, and I will be happy to assist you.
Thank you and best regards,