tax status in case of change of status H4 TO f1

Hi,

 

I have been living in US since 2015 in H4 visa. However I have changed my status to F1 in October 2020. Will I be treated as non-resident alien.

I lost my spouse last year in April, so will be filing my status as single/married filing separately.

What should I choose in this case? Please help