You could be looking at anything from a maladjusted or broken selector, to a transmission with low fluid level or even a transmission that has pretty much failed internally. All three possibilities ...