Sometimes it's a matter of being in the right spot at the right time.  In auto racing it also helps to be in the lead when the rain comes.  Carl Edwards won the AAA Texas 500 Sunday night when rain brought out the yellow flag and eventually the red flag 43 laps before the scheduled end.

NASCAR Sprint Cup Series AAA Texas 500
Carl Edwards won at Texas to guarantee a spot in the championship (Getty Images)

Edwards had taken the lead during a caution 32 laps before the end and held off the rest of the field until the race was called.  His victory guarantees him a spot along with Jimmie Johnson in the championship race at Homestead.

Joey Logano had the car to beat in the first half, but settled for second place.  Martin  Truex, Jr. came in third with Chase Elliott and Kyle Busch closing out the Top 5.

The race started nearly six hours after its scheduled start because of rain and the time it took to dry the track.  By that time most of the crowd had left and the race began with the stands virtually empty.

There's one more race left at Phoenix before the finale at Homestead.

More From 106.5 WYRK