2011 Ford Pickup won’t shift when motor’s running

can shift my ranger when motor is off but wont go into gear when motor is running?

Manual trans or automatic? How many miles? What engine? Give us a little more to go on!

If it is a manual, you have a clutch problem. It may be the hydraulic pedal system or it could be the clutch itself.