"Switching" means to make a quick change from one thing to another. For example, if you're doing some difficult work with one hand and start to get tired, you might "switch" to the other hand.
You can talk about "switching from ___ to ___":
I'm thinking about switching from my iPhone to an Android phone.
Or you can use the phrase "switch between":
How do you switch between different accounts?
"Switching back and forth between" things means switching many times between the same two things.