Your shift cable is getting bad and will need to be replaced.
Let me know if this is something you would want to tackle yourself
ASE Certified Technician
7 years experience, ASE master certified, electrical, chassis, and powertrain master