I became a fourth-year student.
四年間 explicitly emphasizes the duration of four years, while 四年 can refer to the period or the ordinal year.
fourth-year student
Standard kanji spelling for 'four years'.
Numerical form commonly used in dates, durations, and formal contexts.
Compound of 四 (four) and 年 (year).