Complex sentence: Three laps later, Johnson pitted, giving the lead to Edwards who subsequently pitted himself, returning the lead to Johnson.
Split into simpler sentences: Three laps later, Johnson pitted, giving the lead to Edwards. Afterward, Edwards pitted, giving the lead back to Johnson.