These are genuine Toyota shifter detent balls!
Available as a 7.9mm (0.311″) or 6.35mm (0.250″) diameter.
The smaller is an internal shaft detent typically used for holding thrust washers in place on spinning shafts, while the larger is a shift rail detent used to define the notches in a shift pattern.