Where to submit my 1042-S (Income code 16 and 20) information as a resident alien?

I am an international student from China who came to the states in 2012. I turned into a resident alien last year (2017), but still I received 1042-S without W-2. How could I submit my 1042-S information to IRS through TurboTax?

More of background information. I've been receiving both 1042-S and W-2 every year since I came here because I've got a research assistant position which covers tuition and fees, insurance, and salary. But in 2016 I received a fellowship lasting from September 2016 through August 2017, and my assistantship was terminated during this period. September 2017 the assistantship was picked up again until the end of the year, which made me fill out Glacier again as a new employee when I was a resident alien already then. After all these, I only received two 1042-S forms (Income code 16 and 20) early this year, which I assume one is for the fellowship and the other for the assistantship. But I don't know what to do with them. I'm sure there are withholding taxes in them, and I am eligible for the tax exemption treaty between the two governments.