When you delete a game from your Nintendo Switch, you can reinstall it almost immediately if you have an internet connection and the game is available for redownload from the Nintendo eShop. There is no enforced waiting period for reinstalling a game after deletion.
However, it’s generally recommended to ensure that your console software is up to date, and if you are experiencing issues, sometimes waiting a few minutes and restarting your