The Switching Spell (incantation unknown) was a transfiguration spell used to switch the positions of two objects. By definition, it was a simultaneous transfiguration of two objects to make them look like each other.
Is Switching a form of Transfiguration?
Transfiguration was divided into four branches (though — whilst based on canonical information — the typology is conjectural). In these main four branches there were also sub-branches, such as human Transfiguration and Switching, which would be in the branch of Transformation.
What is the transformation spell in Harry Potter?
Transfiguration is the family of magical spells that are used for changing objects from one type of thing into another. At Hogwarts, Transfiguration is taught by Professor Minerva McGonagall.