I don't know if it's possible or not, but what about a fireRelay event that fires a relay once set off (onActivate self fireRandomRelay).
It will have two set values for the event, the least amount of seconds before it can fire and the maximum amount of seconds before it can fire.
I can't describe it better, but is it possible?