I have found that the power window switches in my 2010 Toyota Tacoma have both stopped operating. After disassembling the switches, I discovered that the problem is a plastic piece that wears down over time and then no longer actuates the switch contacts.
My model allows you to print a replacement of that piece. I am unsure of long-term durability of the printed part, but the disassembly/reassembly is not too difficult, and the cost of a replacement switch is much higher than the cost of a printed part!
For best strength, I recommend printing flat with supports. I used PETG with 3+ perimeters and 100% infill.
Photos of the disassembly/reassembly process:
The Switch in Question:
Remove the spring clip. I suggest carefully sliding it off with a pair of needle-nose pliers. Be prepared for it to go flying!
Remove the pin which holds the assembly together:
Carefully pry the switch mechanism from the bottom of the assembly. There will be two metal see-saw contacts that come out with the mechanism:
Remove the Toggle from the top of the switch, then press the spring assembly through from the top to bottom to remove it:
Carefully separate the worn plastic contact part from its housing. There is a spring inside, so watch to be sure it doesn't get lost! Note that the original piece (white) has shorter “legs” due to wear. This is the likely reason that the switch has stopped working.
Place the spring on the center post of the 3D printed replacement part, and gently press it into the housing until it snaps in place. It should be able to move up and down freely but spring back to fully extended when released.
Begin re-assembly! Start by inserting the spring mechanism into the body of the switch from the bottom, then securing it with the rubber boot:
Reassemble the switch contacts. If you see black oxidation on the contacts, now is a good time to clean that up with some fine sandpaper. Note that the “see-saw” pieces each have one wide tab and one narrow tab. The narrow tabs belong in the center of the switch, with the wide tabs to the outside. Make sure the metal pieces can toggle freely.
This is the trickiest part of the process. Keeping the switch mechanism flat so the “see-saw” parts do not shift, press the mechanism into the switch body from the bottom until it clicks into place.
Press the switch toggle into position, making sure the holes align so that the pin can be re-inserted.
Place the clip into position and carefully slide it back onto the pin with your pliers or the flat edge of a small screwdriver.
Check the operation of the toggle, then reconnect the switch to the wiring harness in the door and test window operation. All done!