Set Int to switch a specific number of times

I’m using Switch 2 and Switch 3 to trigger four things in a row, through a timer.

I want to use Switch 1 to trigger either Switch 2 or 3 but I want it to trigger 4 times in a row, each time.

So I need to get either 0 or 1 randomly, but to count up 4 each time - so that the Switch 2 (connected to pin 0) will trigger 4 times if 0 comes up and Switch 3 (connected to pin 1) will trigger 4 times in a row if 1 comes up.

Any ideas?