All non e-lock diffs are commonly called a 8.2" or 8.4", though they measure differently it makes an easy notation versus the 8" that came with the TRD package. Keep in mind non-TRD trucks can absolutely have the e-locker, though with the introduction of the TRD it is rare to find a non-TRD with the locker however I know of several. The differentials themselves are very different with the 8.4" actually being a superior design (girdled bearing caps), however as the 8" e-locker was already in use for other markets it didn't make sense to redesign another e-lockers I suppose. There is nothing wrong with the 8.4", nor the V6 style 8", but you cannot swap one for the other as the mating flange on the axle housing is entirely different. If you want a selectable locker in a non-elock housing, your choice is the ARB. You end up with a nice strong 8.4" diff and the selectable locker. Otherwise as noted you need to swap the entire hub to hub axle from an e-lock 8" truck. It is a direct swap but throughout the range of Tacomas there were minor changes such as park brake cables, etc.
As for the pinion flanges, I can't say exactly what year it was, definitely by 2005 but possible not as soon as 2003 the flange went from a 27 spline to a 30 spline. No biggy, flanges are available in various patterns for both. Most aftermarket gears will still be 27 spline.