Joe Milton threw for three touchdowns and added another on the ground to help the Philadelphia Eagles complete a 21-point comeback and beat the Dallas Cowboys 39-38.