Others have addressed the check engine light.
But to address the shifter, as was stated, step on the brake pedal, does it shift out of park?
If no, then step on the brake pedal and have someone see if the brake lights come on.
If no, check the fuses.
If the lights come on, turn the ignition key to where no lights come on, but it releases the steering wheel lock. Set the park brake and see if it shifts out of park. If it does, then power to the shift lock actuator isn't getting to it.
If it doesn't shift out of park, there is a problem with the shift lock actuator.
There is a manufacturer's service bulletin for the shift problem and may be related to the check engine light coming on.
You will need to have the dealer reflash the PCM.
Here is a summary of it.
A/T - Shift Lever Won't Move Out of PARK/DTC0007
GROUP: Vehicle Performance
DATE: September 7, 2007
The vehicle operator may experience:
^ Shift lever will not move from "Park".
^ Diagnostic Trouble Code (DTC) 0007; "Electronic Shift Module Internal is set in the ESM.
REPAIR PROCEDURE - REFLASH PCM