The toggle consists of two platforms, one for the goal and the other for the starting point. There are many rotating rectangles between these platforms. Half of the rectangle (every other one) rotates at once. On the other side of the stage there are Blue Goal and Banana Bunch at the edge of the platform.
Back up on the starting platform, rush forward and hit a rectangle just after the flip half. I will run along the rectangle as soon as possible. The rectangle underneath you will send you on the target platform and flip (hopefully) at some point.