Education

In calculating the standard deduction for dependents, earned income includes any taxable scholarship or fellowship grant. See the note at the bottom of Table 8 on page 25 of Publication 501 (2019).  In your example wouldn't the student's "earned income" be $5,000+$1,000. Thus, the standard deduction would be $5,000+$1,000+$350=$6,350.