Regulates mitogenic signal transduction by dephosphorylating both Thr and Tyr residues on MAP kinases ERK1 and ERK2. . This is the function of DUSP4 (dual specificity phosphatase 4, ENSG00000120875).