toyota tacoma O/D transmission lock out switch
I'd look at the solenoid for dirt, crud, road scuddies bungin' up the works...zap it with a power probe with the battery disconnected to see if it will behave (if an electric solenoid)~
Power Probe....welcome addition to that fleet of tools~
Search Toyota Tacoma Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Toyota Tacoma Experts