In order to take the ATP knowledge test, you need to complete an ATP CTP course. Total number of flight hours is irrelevant.
http://www.faa.gov/pilots/training/a..._providers.pdf
To take a type rating you don't necessarily have to have the ATP knowledge test done, but that sounds like a requirement by the type rating school because there all type ratings are done to ATP standard.