non resident or resident alien (F1-student)

I maintained my F1 status from 2013 Aug to 2013 Dec. I left the US on 2013 Dec and took a leave of absence starting from 2014 Spring. (I have done nothing about this status of this school since then.) 

Later, I became a new F-1 student in a new school with different I-20.  Until now, I have remained the same status. Every year, I will be not present in the US at most two months.

I am wondering when I can file as a resident alien? 2018 or 2019 tax return? or I have to wait one more year? Next year to file 2020 tax return?

Thanks.