I don’t know what I touched. I’m using a mesh plane to practice with the Node shader. Before, just touching the Slot or changing the Material would show the other material in the viewport.
When you change the slot in the shader editor it does not change which material is assigned to the faces. Ie you can edit a slot that is not assigned to faces.
To change the assignment of the material you need to go back to slot 1 (which is the slot that has your faces assigned) and then change the material that is assigned to slot 1 in the material drop-down.
In this screenshot if I click the red material in the dropdown it will assign it to slot 1. Note the result would be that BOTH slot 1 and 2 use the red material.
The rule of thumb is that you do not assign materials to faces or faces to materials. Both materials and faces are assigned to slots (hope it makes sense), if you play around with it a bit you will get the idea.