If Mr. T used two different switches, could we conjecture that they changed suppliers/styles at some point? Maybe. If this is the case, then I'd rekindle my hope for finding a replacement. I did a ton of searching online when I was dealing with this, but did not find an exact match.
If anyone still has a switch not currently on the truck, could you please put the calipers on that thing and get some measurements? Maybe I pick this back up.
Also, this switch is investigated in all kinds of Toyota forums; basically any vehicle that has a hi/lo box on it and people that work on them.
EDIT: couldn't help myself and went to Digikey. We are looking for a limit switch with solder lug termination, and what looks like one of either Formed, Leaf, or Simulated Roller style actuator. If you have the noble autismo to search further, or know someone who knows the terminology, please dive in.
Here's a cool PDF about troubleshooting the actuator box for a T4R, which is where I found the 'limit switch' term.
https://www.toyota-4runner.org/atta...71-2003-4runner-4wd-problems-t-qtg-312f-d-pdf