Original: In 2004 the book was sold to Miramax Books for enough money that Riordan could quit his job to focus on writing.
Simplified: In 2004, Miramax Books bought the book. The money was enough for Riordan to quit his teaching job to focus on writing.