Dual Status Final Year in US, Social security, J1 exchange
I came to the US as a J1 exchange student. During the first 5 years (yes not the usual 2 because of the student status), I was considered non-resident for tax purposes. Afterwhich I started filing resident tax returns, and my employer obviously was taking out FICA social... etc. I have since left the US mid June and would like to file my final tax return.
According to the substantial presence test I was a resident. However since the last year I was in the US for less than 183 days "I can be treated as non-resident"-from Pub 519
I've been advised to file as a dual status year, which basically calculates to filing as a non-resident for tax purposes, and do not get the standard deduction. Is that correct?
If so, does that mean, since I am considered a non-resident for tax puropses on a J1 exchange, that I am elligible to a refund of my FICA social etc. that was withheld by my employer (only for the final year of course)? - again from Pub 519.
The sticking point is if I was considered a resident for the part for the year I was in the US and non-resident for when I left, does that mean that the social security taxes were withheld correctly, and since filing dual I don't get the standard deduction. Which obviously means I'm being taxed twice on part of my income, and that doesn't make sense. Please advise.
Many thanks