Wont shift out of park

After starting my 02 durango i sometime cant shift out of park. I am pushing on the brake is there anything eles I can do. It doesnt do it all the time. When it does do it I just turn the key off and wait and keep tying till it lets me take it out of park evenualy it lets me ive waited 2 hours before thats the longest ive waited

It can be caused by a number of things, frequently a bad brake switch or a bad solenoid. Maybe you can replace these inexpensive parts yourself and hope it works.

Does this vehicle have the shift lever located on a center console?
If so, there should be an emergency release located somewhere on the console, near the shift lever. Check your Owner’s Manual for specifics.

If your brake lights are not working, fix that and you will be good to go.

you should check your brake interlock system. What engine do you have ?

no the shifter is on the colum could there still be a switch that releases it?

what does the brake interlock system consist of? I have the 4.7 engine

Probably not, but it wouldn’t hurt to check the Owner’s Manual.

my brake lights work fine both sides