This is a FX loop AB switch that enables you to switch your pedals between two amps’ FX loops, as well as the inputs to the front of the amps.
Your preamp effect pedals go into the AB pedal’s input which is routed to the Amp Input A or B sockets. Your post effect pedals go in the Pedal Send and Return sockets, and these are routed to eit