It's called a flipflop relay.
Look it up at a hydro supply house.