Sounds like the brake interlock. There's a switch at your brake pedal, wired into a solenoid at the shifter. You have to stand on the brakes in order to shift out of park. So if the switch is busted, wiring is flaky, or the solenoid is bad, it won't shift. Get your DMM & look for that switch.