So you need a square wave capable of.... sourcing 2A or sinking 2A, or both?
If you only need to source or sink , just use the signal to drive a logic level MOSFET (p-channel if switching high side, n-channel if switching high size). If you need high current for both sourcing and sinking, that's a little trickier...
Note that you will need an external power supply no matter what.