In Sword & Shield, you can find the Master Ball after completing the main story. After entering the game again, you'll find yourself back at your house. You can obtain your Master Ball from Professor Magnolia here and are encouraged to seek out the Legendary Pokémon Zamazenta and Zacian.