Should I count years of postsecondary education for the eligibility of American Opportunity Tax Credit (AOTC) starting from when I became a resident alient (in my 2nd year of grad school)? In that case, it would be 2 years and I would be qualified.
Or should I count the years I was in college? In this case, it would be more than 4 years and I would not be qualified for AOTC.
No, you don't qualify for the American Opportunity Credit.
If the college recognizes you as a graduate student, you do not qualify. Only pre-graduate students qualify for the American Opportunity Credit.