Were the EGR passageways cleaned when the EGR valve was replaced?
Was the replacement EGR valve OEM?
Also what is the behavior if you attempt to crank with your foot on neither pedal? Make sure it’s in park, parking brake set, with both feet off the pedals when you try this.