my 2002 dodge neon will not change gears while driving told on 2002 Dodge Neon

it is while i am driving was told it was a shifting solonoid

2 answers
If it is a shift solenoid, the check engine light should be on.
What code has been set?
Does the solenoid have power? Is the solenoid getting a ground when it should?
You need to take it to someone who can read the computer for codes. Not a generic code reader but a real scan tool.