As soon as the blue curaçao's been added, remove the spoon and place the cocktail strainer into the shaker. Start pouring the shots right away from the side of the shaker your added the blue curaçao to.
I find it helps to count as you pour to try and get the shots even-ish. I counted to four for each pour.
You may have to try 3-4 times to get your pour timing down to avoid having a brown shot instead of yellow. (Especially if you choose to wear the unicorn head while doing it.) But once you get it, you will be able to pull this trick out anytime a party needs a pick-me-up.