Countdown to ON timer
Google darkroom timers. These are designed to do what you want. You can set a time interval and the timer will keep power off (using the safelight socket) for that interval and then turn the power back on.  Used ones are readily available on Ebay and elsewhere.