Runners reaching or advancing on wild pitches are earned, but on passed balls are unearned. So unless there is another out that is missed, Runs would be earned.
To your second question, a player who reaches on an error and is subsequently retired doesn’t negate the error for figuring earned runs. The scorer reconstructs the inning without the error or passed ball, and if a runner would not have scored with errorless play, his run is unearned.