Star Trek: The Next Generation - Season 4 Episode 8 Future Imperfect
8.4045 minutes
Stardate: 44286.5. Riker awakens one morning to discover he is suddenly 16 years in the future as the captain of the Enterprise, and negotiating a peace treaty with the Romulans with no recollection of how he arrived at that point in time, or of any recent events.