Hey guys, we have a great FAQ here with directions on exactly what to do when you replace your router: https://support.sonos.com/s/article/1061 Basically it's a matter of wiring one of your devices into the network, restarting them all, and putting in the new credentials for the wireless.
Make sure you're connecting to an existing system, not creating a new one. You don't want to lose all of your settings.
Mark good posts by pressing the like button, and select the best answer on questions you've asked to help others find solutions.