Can F1 student choose to be treated as resident alien?

I am an F1 student and came to the US since 2015, and I have a W2 during 2019 under OPT. I have a question that can I choose to be treated as resident alien and fill form 1040 instead of 1040-nr-ez for 2019 under the first-year choice?