I also need to replace the toggle switch for the macerator as the connections on the back side of that switch are really rusted and corroded anyone ever do a repair like this and what is the best way to clean a connection that is badly corroded
I would not bother trying to save those ring connectors, as water has progressed inside the insulation of the wire also. (Educated guess there... but I will put money on it.

)
Remove the retaining nut(s) that hold the switch on, then cut both wires right next to the connector crimp end. Strip the wires for a new connector, but INSPECT first - is the copper nice and shiny? Then put some dielectric grease (or Vaseline if no dielectric), crimp on the connectors and proceed with switch replacement.
If the wire inside is black, or worse yet green and flaky... keep cutting the wire back until you reach nice shiny wire. Then proceed with connector, dielectric and replacement of switch. Little bit of shrink tubing Squishing out the dielectric as it seals for the 'gold star' on your report card.

There are ways to chemically clean the wire back to shiny, but they do not address the wire hidden in the insulation. That would be a 'half fast'

repair in my book.
You can certainly just clean off the ring connector and connect to the new switch, but the lack of sealing (shrink tubing) on the crimp connection and the age of the connection would have me doing more investigating while down there. But that's one of my quirks.. I only like going in once to fix something.