taps the light switch (off)
and
slams the switch on
both sound fine to me, although the first might suggest a neutral or tentative mood and the second is more aggressive.
shut the light off
is rarely used in the context of operating a switch and sounds odd. It's probably more appropriate in a situation where the light is being blocked, for example by closing a door.
In addition to Stu W's suggestion of 'flipping the switch', you could also use:
She clicked the light switch on and off again
or
She flicked the light switch on and off again
I use 'light switch' in these examples and not just 'light' because I think 'turn on the light' could refer to a number of ways of switching a lamp on, whereas 'clicking' and 'flicking' (and 'flipping') are more specific to the typical type of plastic wall switch you'd find in modern buildings.