Per the IRS Instructions for Form 1040NR U.S. Nonresident Alien Income Tax Return (click the link and view the entire publication for additional details regarding the items below), page 7:
Who Must File Form 1040NR
You must file Form 1040NR if any of the following conditions apply to you.
Exceptions. You do not need to file Form 1040NR if you meet (1), (2), or (3) below.
Exception for certain children under age 19 or full-time students. If your child was under age 19 at the end of 2018 or was a full-time student under age 24 at the end of 2018, had income only from interest and dividends that are effectively connected with a U.S. trade or business, and that income totaled less than $10,500, you can elect to report your child's income on your return. To do so, use Form 8814. If you make this election, your child does not have to file a return. For details, including the conditions for children under age 24, see Form 8814.
A child born on January 1, 1995, is considered to be age 24 at the end of 2018. Do not use Form 8814 for such a child.