Hello, I hope the following is of assistance.
The code P2002 is the DPF efficiency below threshold, this may be due to a blocked DPF or split DPF sensor pipes. The DPF may have blocked due to the EGR valve fault, if the EGR system isn't working correctly and this is detected by the PCM then the conditions for a DPF regeneration aren't met and the filter will become blocked.
Start with checking the DPF pressure sensor pipes as it's common for the heat to cause these to split, check the EGR operation, once you are confident the EGR is correct (hopefully the new valve has cured this) and the DPF sensor read correctly then a static regeneration needs to be attempted to clear the DPF code. Without the DPF regenerating successfully the P2002 code won't clear. To carry out a static regeneration requires a suitable diagnostic tool such as Ford IDS as the DPF code comes back so quickly it's unlikely the DPF will not regenerate dynamically while driving the car.
A 2009 Focus can be either a coated or non coated DPF (they changed around this year) , if it is a non coated DPF where there is a fuel additive tank and usually a magnet on the fuel filler flap then the DPF is a scheduled replacement item at 75000 miles.
I hope this helps but if I can assist further or if you have more questions regarding this let me know and I'll reply as soon as I'm able to.