Any tips on working overnight shift and not falling asleep?

Making sure you get enough sleep is the most important thing. Apart from that, it’s a matter of getting used to it. The first week or so might be tough, but you’ll hopefully become used to it with time. Also, I don’t know if you’re fond of stuff like coffee, but that helped one of my library friends when they worked overnight.