Do you remember how you felt about the stock market on March 9, 2009?

Evidence suggests many investors have blocked out those fearful times. Five years after the S&P 500 hit its lowest point during the financial crisis, investors are pouring money into stocks.

In 2013, investors put $172 billion into U.S. stock mutual funds and exchange-traded...