My car won't change out of low gear sometimes when taking off. on 2001 Nissan Sentra

I had my car checked & was told it was the speed sensor. I had that changed. One week later I'm still having the same problem. Was told the part might have been bad, so putting in the second sensor today.

Asked by for the 2001 Nissan Sentra
let us know what happens when you put the new sensor in
Replaced it yesterday, so far so good.