After performing a factory reset on your Nintendo Switch console, you can start playing games again immediately, as long as you have a valid internet connection and access to your Nintendo Account. You will need to re-download your games from the Nintendo eShop or insert physical game cartridges, depending on how you acquired your games.
Keep in mind that you may need to reconfigure some settings and download any system updates before accessing