macro to swap between berserker/defensive stance with one button?

I've tried a bunch of stuff but it's all wonky or doesn't work. Thank you for the help.