This is my macro I use for my Thaumaturge:
/equip main "Weathered Scepter"
/equip sub "Weathered Shield"
/eaction 3 "Insert Ability Here"
/eaction 4 "Insert Ability Here"
This page should help you for getting your macro commands together. http://lodestone.finalfantasyxiv.com/pl/guide/macro01.html
Equipping gear goes like this.
/equip [slot] [item name]. The name of the item has to be spelled exactly with the proper capitalization. The first two lines of my macro equip gear, the next equip abilities on the main action bar.