Chech your upper and lower intake manifold gaskets. I had the same thing happen to me, and that's what it was. The excess air is getting into the manifold making it rev at 1500 rpms when it's idling, and won't rev above 3000 rpms. If this is the problem then the intake manifold gaskets are it.