Will it cause my car to shake back and forth?Like it does not want to accelerate on 2000 Nissan Sentra

They changed my fuel pump and did not change the ring like gasket and now it leaks the fumes from my gas. Now it shakes and does not want to go at times. when I have it on idle while in park it does not shake, till I put it in drive or reverse. Also when I hit 40mph it shakes hard. Please help me

Asked by for the 2000 Nissan Sentra
return for warranty work and complain but be nice