To have changed from one thing to another, especially to have changed from one thing to another thing that is the opposite.
Switched can make people think of changing, turning things on and off, or making things different.
Examples:
She switched the light on.
He switched his phone off.
The cat switched from being happy to being angry.
The dog switched from barking to sleeping.
The weather switched from being hot to being cold very quickly.
The colors in the sky switched from being light to being dark.