Honda civic 1998

I have a 98 civic manual. My car seems to shake and turn off on me when i shift gears. When i put it in neutral my car wont shut down on me. I also notice that when i turn on the AC it starts to shake even if it is in neutral and it shuts down.