How Do I Switch Fedora Variants?

May be you are looking for Fedora release identity packages. You could search it with dnf search fedora-release-identity-\* and it will give all available identities for Fedora variants.

My understanding after we installed the desktop environment group we want, we could use sudo dnf swap fedora-release-identity-OLD fedora-release-identity-NEW then remove the old desktop environment group. But I never did this and prefer to install new variant to avoid unnecessary troubleshooting.