Which would you choose: 8-5pm in-office or fully remote swing shift from 4-12am?

Hi, I currently work a regular 8-5 office job which requires me to have commute at least 2 hours everyday. This is normal since I live in a major city BUT I do get tired of how performative it is to work in an office. I’ve been looking at remote jobs and there’s one fully remote position that will pay $5,000 more than what I currently make but it’s during the swing shift of 4pm-12am.

Out of curiosity, which would you guys choose? It doesn’t necessarily have to be my exact scenario, just wondering what most people would prefer.