Changing your class in AdventureQuest Worlds is straightforward. Head to that class's trainer, then buy the corresponding class armor from their shop.
Once you've purchased it, simply equip the armor and you'll switch over to the new class, ready to use its skills.