Hello, this is Emily.
You will need to sign into your admin user on the local computer first. The username would be:
local\username (replace username with the actual local username).
Or if your local user is a personal Microsoft account, when you switch user, it should already list on the lower left for you to choose.
============
Once you are in, go to Settings > Accounts > Access Work or School, find the old domain email, disconnect it. Restart the computer.
Then again, go to Settings > Accounts > Access Work or School, click on Connect.
Don't sign into your work email yet. Instead, click on "Join this device to Microsoft Entra ID". On the next step, you will be prompted to sign in, then you can sign in with the new domain email.
Once done, restart the computer and you can use "switch user" to sign in using the new domain email.