Well, we need to get some terminology straight...
4th is Overdrive.
Due to this confusion, I'm thinking your problem may be the torque converter clutch, not OD. The TCC is the only thing that can be mistaken for a shift up if you're in 4th.
The fact that you also sometimes get stuck in 2nd indicates you may have a problem with power to the shift solenoids. The ignition switch is a common cause. You can put a volt meter on the trans fuse and see if it is steady or not.
And, get the codes...
The Constitution needs to be re-read, not re-written!
If you can't handle Dr. Seuss, how will you handle real life?
Current oil burners: MB GLK250 BlueTEC, John Deere X758
New ride: MB GLS450 - most stately
Gone but not forgotten: '87 F350 7.3, '93 C2500 6.5, '95 K2500 6.5, '06 K2500HD 6.6, '90 MB 350SDL, Kubota 7510