have you inspected the egr components? assumming so, sounds like you were involved in the rebuild?
and have you reset the code? i'm curious as to when exactly the code is popping up.
seems like two separate issues to me. but yeah, don't throw parts at it, it could get very very expensive