Alternator issues

I, like OMM have a shut off switch on my alternator. When I hit the box, switch goes off, when I hit the turn out, switch goes on. I'm crossing the stripe at about 6400 RPM.
Can you explain this OMM &the switch set up?