To amend from Form 1040 to 1040NR, here are the steps:
You would need to submit both the Form 1040-X and Form 1040NR together:
https://www.irs.gov/pub/irs-pdf/f1040x.pdf
https://www.irs.gov/pub/irs-pdf/i1040x.pdf, page 7 under Residents and Nonresidents
To amend from Form 1040 to 1040NR, here are the steps:
You would need to submit both the Form 1040-X and Form 1040NR together:
https://www.irs.gov/pub/irs-pdf/f1040x.pdf
https://www.irs.gov/pub/irs-pdf/i1040x.pdf, page 7 under Residents and Nonresidents