When you paint on a single surface, Maya does not create a switch node.
When you paint on multiple surfaces with the same material assigned, Maya creates a switch node for each painted attribute. Maya creates:
Switch nodes allow multiple surfaces mapped with the same texture to be assigned to a single material. For details about using switch nodes, see the Rendering guide.