Literary and poetic; you'd see it in song lyrics, poems, and scenic description but rarely in everyday speech, where 太阳 'sun' is the default.
culture
Strongly associated with sunrise/sunset imagery and, in older PRC propaganda songs, was a metaphor for Chairman Mao. The 1960s anthem 东方红 'The East Is Red' calls him a 红太阳 'red sun'.