Can I claim the China-US Tax Treaty for the year changing F-1 to H1b? Am I a resident alien or nonresident alien?

In the first half-year of 2020, I was a nonresident alien on F1 OPT, and I got my non-cap H1b on 6/15/2020. So at the end of 2020, I have stayed in the US for more than 183 days and passed SPT. For the tax year 2020, should I file as a resident alien or dual-status alien? Besides, since I was on F-1 for the first half-year, can I claim the China-US Tax Treaty 20(c) to exempt my first $5000 income from federal tax? How can I do that using TurboTax?

 

Thanks a lot!