Transmission mode switch is fairly easy to inspect and clean or replace from what I gather. I looked into it when running into shift probs. I'd start there. If you open up the switch and all looks good, then move on to other fixes.
Don't ignore the obvious such as fluid levels.