If your modem is not a modem/router combo, then you will need a separate router since a modem only device will only provide one IP address. A router allows you to connect multiple devices by creating a subnet of private IPs. A switch cannot do this for you.

If you provide make/model of all devices, someone may be able to assist with troubleshooting. A new router probably will provide better performance though.