Its a relay, and I have a few of them in a box in my shop.
Yup I am doing some work on the bike, I'm adding a few electronic accessories, but not wanting to mess with the bikes electrical system, I am making a seperate electrical system, with its own fuse box and relay.
The only connection to the bikes stock system will probably be near the key and that will be a wire to the relay on the new part of the electrical system. Although I am looking for a switched on connection that is bolted on with a nut, that way I can just bolt it on rather than either splice into it.