Rpm's shoot up speedometer goes to zero no power check engine light comes on cruise control won't work

Question by mamartinez64 posted 1 week 6 days ago in Altima

I have an 07 Altima that the RPMs shoot up real high my speedometer shows 0 check engine light comes on cruise control won't work. I have changed the speed sensor on the driver side towards the back of the motor by the firewall but my car continues to do the same thing what are my next options???