It depends if
your foreign university is an eligible education institution. Use the following link to check if your school is on the list.
https://ifap.ed.gov/ifap/fedSchoolCodeList.jsp
Under Federal
School Code List, select 2017-2018
Federal School Code List in Excel Format
If your school is on the list, you are entitled to claim an educational credit or deduction.