presented with the following car symptoms, what would you estimate the repair bill to be like?

shakes violently and shuts down when you stop it (unless you leave one foot on break and give it a little gas with the other)
increases RPM but doesn't shift into the next gear when you give it gas
then all of a sudden it jumps forwards with the excess gas it got
all along 'service engine light' is on (sometimes flashing, sometimes not)

(car is an automatic)

If you'd like to put your guess down post a response. I'll give the correct answer whenever I find out