How about having a timer running continuously, and comparing the actual value of the timer with some known constants, and switching the outpit depending on which value is true.
For instance, if timer is say 1 sec, and actual value is between 0 and 300 ms, then switch Q1, if it's 300 to 500 ms switch Q2, and so on.
Depends on how random you want it to be I suppose.