Neptune has the longest revolutionary period around the sun among the four options you provided. Its orbital period is approximately 164.8 Earth years, while Saturn's orbital period is about 29.5 Earth years, Earth's is about 365.25 days, and Mercury's is about 88 Earth days.