if the taco is not a elocker equipped truck, than the answer is no, as in it isnt the same at all...
i think the 4runners used the v6 8"
if its the 8 inch which can be confirmed by the axle code on the DOOR, then YES a elocker can be installed ,with some "modification" of the housing
theres a 8.4 inch axle in some tacoma's, and its also in "some" late model runners if you are unlucky enough to get one of these, your just screwed they came mostly in NON TRD tacomas and T100's
my neighbor has a 98 taco with A340F and a 8 inch with 4.56 gears from the factory
just check the codes on the door