Non resident Alien claim US citizen child

I am non resident lived outside USA for entire year in 2018 but incom from USA source. My child is US born. Should i file 1040NR and how can i claim my dependent child.