On P is on 1 rpm but when i put it on R or D with brake is shakes n rpm goes down on 2004 Pontiac Vibe

please let me know thank you

Asked by for the 2004 Pontiac Vibe
Sounds like you have a rough running engine with possibly a vacuum leak Any Check Engine Light or Service Engine Soon Light on? go here to understand more