Sounds like maybe an electrical issue. One thing you could do to troubleshoot the egr is disconnect it and block off the exhaust and intake sides on the manifolds and see if it runs ok