Hi, I came to US on F1 visa (Aug 2014) and have filed 1040NR for tax years 2014-2018 (5years). My H1B got approved on Jan 2020. What form should I file for 2019?

Since my 5 years was completed at the end of December 2018 (substantial presence test). Should I have filed 1040 (resident tax) instead of 1040NR in 2019?