Okay, so I have an earthlike planet and another, bigger planet which orbits the sun really slowly and once every few millennium it crosses in front of the earthlike planet, blocking out the sun. would life on the earthlike planet be wiped out when the other planet eclipses the sun?

Heres a simple diagram of the proposed orbit of both planets:
[![Obit](https://i.stack.imgur.com/RgyqL.jpg)](https://i.stack.imgur.com/RgyqL.jpg)

Thanks for all the answers. You've me helped immensely.