It could be a power problem. Check the power to the circuit that feeds the disposer. If the breaker is OK, then check the power at the switch. If you have power coming to, but not leaving the switch, then the switch is bad. Turn the circuit off and replace the switch.