99 Chevy Tracker Locking up in Park

My Tracker is occasionally locking up in park - can’t get it in gear. So far it has allowed me to shift after much juggling and applying and reapplying pressure to the brake pedal. Can someone tell me if this relates to the post ignition relay switches, or is it something else?



Thanks, y’all.