I'm not at home with my bike to look at it (I'm supposed to be working), but looking at a Electrical Parts Diagram, it may be a Diode which would be like an electrical version of a check valve allowing current flow in one direction, but not in the opposite direction.
I'm guessing though.
I just need to tuck it away and forget about it....