Is the shifter is on the steering column? If it is, the gear shifter can become stuck if the steering wheel is turned hard one way or the other. Try turning the wheel a little in the direction that it is already turned while trying to get the shifter out of park. Be sure to turn the ignition switch to the on position to unlock the steering wheel first.