Form 1040-X - Amending Resident vs. Nonresident Alien Returns
1

If you mistakenly filed a Form 1040 U.S. Individual Income Tax Return and you need to file Form 1040-NR U.S. Nonresident Alien Income Tax Return, or vice versa, you will need to amend your return. For steps on creating an amended return, see Form 1040-X - How to Create an Amended Return.

See the IRS Instructions for Form 1040-X and IRS Publication 519 for details

Note that any link in the information above is updated each year automatically and will take you to the most recent version of the webpage or document at the time it is accessed.