To unlock the Necromancer class in AdventureQuest Worlds, you'll need around 50,000 coins, a Creature Shard, and a Necronomicron (the spelling is a little fuzzy, but it comes from the rank 10 DoomWood reputation shop).
The Creature Shard is a rare drop from the Gravestop Creature, so be prepared to grind for it. Once you've gathered everything, you can make the Necromancer yours.