Nobel-prize winning economist Robert Shiller believes a recession may be years away due to a bullish Trump effect in the market.

According to the Yale University professor, President Donald Trump is creating an environment that's conducive to strong consumer spending, and it's a major force that should hold off a recession.

"Consumers are hanging in there. You might wonder why that would be at this time so late into the cycle. This is the longest expansion ever. Now, you can say the expansion was partly [President Barack] Obama," he told CNBC's "Trading Nation" on Friday. "But lingering on this long needs an explanation."

Shiller, a behavioral finance expert who's out with the new book "Narrative Economics," believes Americans are still opening their wallets wide based on what President Trump exemplifies: Consumption.

"I think that [strong spending] has to do with the inspiration for many people provided by our motivational speaker president who models luxurious living," said Shiller.

Shiller emphasizes there's still uncertainty and risk surrounding Wall Street.

Before the markets can take-off, Shiller stresses President Trump needs to get past the impeachment inquiry. He sees this as the biggest threat to his optimistic forecast.