If you got it from Toyota, it should be fine.
Toyota has a habit of reusing parts for years. Usually improving the part along the way.
My guess is that the gear is used on a later model transmission where the shaft doesn't have as many splines (cost cutting move, not an improvement move), and it's backwards compatible with earlier gears where the shaft had all the splines.