Try power-cycling your network in the correct order:
- Power off your modem.
- Power off your router.
- Power off the switch.
- Power on the modem and wait until it is fully online.
- Power on the router and wait for Internet access.
- Power on the switch last.
Then reconnect your devices.