1999 camry vibrates and cutts off

my 1999 camry is acting the following way

when i am backing out it will shake .the problem is worse when I am turning it shuts off,It lacks power when I start to move after stoping all the time the check engine light is on

Get the codes from the CEL read and post the numbers back here for further study.

Plus, how many miles on what engine size?