Thanks!! i did change it for one from another switch and its all working.
Still figuring out why does the switch thinks a headphone is plugged in and why does it cycle between modes sometimes, like it goes from mute to system sound to headphones, then nothing but no sound and then again does that