Why would your Nissan altima 97 auto transmission be shifting gears too early?

If the 1997 Nissan Altima with an automatic transmission is shifting gears too early, it could be that the shift solenoid for the transmission is faulty. Both the shift solenoid and the speed sensor on the transmission should be checked.