<human>: Can you succinctly summarize the text in 1-3 sentences?

So I bought a used car on Monday. Seems to be in really good condition for a 97 with 150k+ miles (don't hate, I'm broke as fuck and my parents are even broke-r). Clean carfax, drives nice, etc..

Had to drive it straight to work the night I got it. Got off work and went to go home, to find it's literally *stuck* in Park. Nothing would get the shifter to move. Eventually my buddy/coworker and I remembered hearing someone with the same problem pushing the car to get it in gear. So I sat with the car on and my foot on the brake while he gave it a shove from the back, and sure enough it shifted right out of park. What's up with this? It hasn't happened since.

More importantly, I wake up this morning and go to drive to school, only to find the damn check engine light on. I'm **really** strapped for cash right now, and would like to do any work, diagnostic or otherwise, on this car myself if possible (won't be much, I don't know jack shit about cars). Gas cap is obviously on (lol), and it still drives fine. I'm gonna take it somewhere tomorrow to get checked out, probably the dealership I got it from. Just wondering if anyone had any ideas on shit I could try or how to handle this situation. I'm really irritated that they tell me 'it's been thoroughly checked out, blah blah no issues', wouldn't sell a bunk car, only to have the check engine light go on on day 3.
<bot>: bought a used car, got stuck in Park on day 1. Check engine light on day 3. Fuck me. Help/ideas/comments/suggestions?