Is it a standard rocker switch? If so, likely you have a loose connection at a switch plate terminal. Isolate circuit, remove cover, prove circuit is dead with approved voltage tester, then look for loose connection and or terminal screws. If all seem good, it could also be your switch contacts, which will mean replacing the switch plate.
. Excuse me for being a bit thick but why, if the problem is in the switch dose the buzzing come from the cable in the the wall about 6 inch below?
If you need to find a tradesperson to get your job done, please try our local search below, or if you are doing it yourself you can find suppliers local to you.
Select the supplier or trade you require, enter your location to begin your search.
Are you a trade or supplier? You can create your listing free at DIYnot Local