Expanding sun
Where the previous cosmic dangers might happen at the roll of a dice with a given probability, we might know for sure that our sun will die in 7.72 billion years. At this point, it will start throwing off its outer atmosphere to form a planetary nebula, ending up as a stellar remnant which is known as a “white dwarf”.
However, humanity won’t experience these final stages anyway.
The older the sun will be, the cooler and larger it will get. So by the time it transforms into a stellar giant, it will be big enough to engulf both Mercury and Venus. Earth might seem safe right now, but the sun might also create an extremely powerful solar wind that will slow down the Earth.