Complex sentence: With the 3 laps remaining, Kenseth was in the fourth position and when leader Joey Logano ran out out fuel.
Split into simpler sentences: With the 3 laps remaining, Kenseth was in the fourth position. Then leader Joey Logano ran out out fuel.