1040 and 1040A is for Resident, 1040NR is for Non-resident.
In tax code, if you live in US for continuous 183 days, you can claim as Resident.
If you use 1040 or 1040A, you can't claim $5000 exemption based on tax treaty, but the tax exemption for 1040/1040A is $5000 per peron.
If your child is not born in U.S, you can use 1040EZ.