This is a new aftermarket replacement for the YFM350 Warrior Igniter which has been discontinued by Yamaha.
( The original part is show in the photo above)
Factory unit may have these numbers stamped on it:
F8T34271, 3GD-85540-40-00, 3GD-40
The new replacement ignition unit larger and will mount differently than the original part. ( See below)
This unit has some improvements over the stock unit: