This is a key on and off ignition main switch, the part that sends power from the key to the rest of the electrical system on your bike. It is an OEM genuine Yamaha part, so it is made to the factory spec for the YFZ450 and YFZ 450 from 2004 through 2013. The switch is operated by turning the key, which is how you power up the machine and shut it off when you are done riding.
If your original switch has worn out, cracked, or stopped turning the power on reliably, this is the straightforward replacement to look at. It is a good fit for owners who want the correct Yamaha part rather than an aftermarket guess. Keep in mind that it is the switch only and does not come with electrical or engine parts, so plan on reusing your existing wiring and components.