sounds like you may have created the no spark issue during working on the motor.
the motor not revving over 3k is an indicator that you may have been loosing spark on a cylinder or 2 , ? possibly in limp mode or injector circuit failure ,however , that usually switches a check light, no tach you...