Why does my car go off especially at hold up/traffic jam and fail to start after on 2002 BMW 325xi

I noticed it happens on hold ups/traffic jam. It goes off and wont start up, like its cutting fuel. When i leave it for sometime (5 min), it will start and run like normal. I have changed the fuel pump and filter. The temp guage is normal (mid point). I have this diagnostic kit and the codes on it are P1085, P0174, P1083, P1525, P0115, P0161, P0128, P0172. Please help.

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Assuming the fuel pump is not defective and installed correctly, the next possible cause would be the fuel pump relay. I would clear all fault codes and replace the relay and drive it.
. Questions call 617-773-3900.
Doug