How do I mount this box without drilling or damaging the shelf?
You could try these heavy-duty mounting squares



They're rated for up to 1 lb.  According to the specs, your switch weighs 0.6 lbs.

It will fall every time someone trips over a cord, but that is preferable to the whole shelf coming down like with a screw or zip-tie.