According to this previous post by you, I now think you are referring to fastrack switches https://ogrforum.com/...4#158111058904192424
I personally use Fastrack switches myself on both my home and at the club layout. I have a love hate relationship with them. When they work, it's one of the best and smoothest running switches. When they don't work- and looks like you had your share of the known issues, it can be hair pulling.
I've seen 2 specific causes for what you might be experiencing.
One is that due to the metal cover over the bottom of the switch, the contacts internally inside the switch under that metal cover have nothing but an air gap between them and that metal cover. Sometimes from the factory those contacts and the associated wires are bent up and so when heavier weight or the switch is screwed down to the table presses the switch against that metal backing, contacts can and do short out. The fix was to then put some form of insulator between the metal cover and that line of contacts.
The second one and one I'm fighting at the club on one switch, is that because fastrack connection pins are not perfect and loosen over time and usage, I think I have an ground loss situation again, from flexing and weight of certain heavy trains (our table has foam base and cork roadbed) so there is tiny flex. The problem is, then Lionel Fastrack switches do have power and ground contacts in the terminals, however, factory they are connected inside by the thinnest possible PCV coated wire. So if you connect that to solve your problem and a derailment happens and burns that wire up, it releases HCI which corrodes everything in it's path. What I'm saying is, you can connect a wire to the terminal, however, knowing that the wire is very thin inside, ideally you either replace with heavier wire internally or provide a fuse, PTC, or some other safety current device in the path to prevent the damage if a short ever happens.
Burned up yellow wire from a miswiring incident.
Resulting damage to the metal plating from the gas released when the wire burned. This will quickly turn into a nasty rust spot. The picture doesn't do justice to what this looks like in real life.