e.g not eg
at the university
The answer is YES. You can use the word "major".
Major ( as a noun) can mean subject.
Major (as a verb) can mean "to study sth as your main major at college or university"
I majored in English .... (not I major in English ..., you can also say I want to major in English ...)