automatic transmission and occasionally does not want to shift from 1st to 2nd. on 1993 Nissan 240SX

it will shift if I turn the car off and restart or keep car at a steady speed for a short distance (300 feet or so). Could it be the computer.

Asked by for the 1993 Nissan 240SX