Rpm's sticking after a stop a light or turning

ford
ranger

#1

What causes the rpm’s to stick at 2500 for 1-2 miles before shifting into 4th gear and why does it stick always at a stop, or turn or swerve. Why do rpm’s run high at first initial start up at 40 degree’s temp., ( 2000 ) then drop to reasonable rate… only occasionally.