For the American Opportunity Tax credit (AOTC), the requirement is that you have not completed the first 4 years of post secondary education. So, if you were admitted to Pharmacy school prior to receiving a bachelor's degree, Pharmacy school tuition would count toward the AOTC.
If you are asking about pharmacy education, then you are past eligibility for the American Opportunity Credit, but you may be able to take advantage of the Lifetime Learning Credit.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**