can get at parts store, but really expensive. Junk yard? in Toyota manual (available at parts store) theres a scheme for testing switch before you install, and not all that hard.
Somewhere on the shifter.
On the tranny. If your facing the front of the car the switch is the lowest on the right hand side.
Dealer, e-bay, or salvage yard.
Toyota dealer parts department.
This information can be found in your owner's manual. Don't have one, get one. Dealer or salvage yard is a source.
There is no inertia switch on a 1998 Toyota Tacoma..
It may be as simple as a brake light switch. You may need to find a shop manual for your vehicle to find out the location of the switch or possibly even get the information from the dealer.
How do I get to the reversing light switch on a Toyota avensis 2005
Where is the fuel cut off switch for a Toyota Yaris?
? wiper switch toyota camry 1999 replace
where is the starter relay switch on a 1996 Toyota corolla
Try the dealer, or scrounge through junkyards by phone or internet, e-bay.