Level 99
This was kind of a pain to get right. First place a long thin beam upright near the switch. Build a reverse L-shape with a marble on top, just after the ramp so the ball lands on it to disturb things. Use the tiny block to give the marble more momentum if needed.
Alternative solution
Reader gecko sends in this improved solution:
Saving the best for last, this one is from Seth: