I can understand your fears, and there is nothing wrong with taking action to protect yourself from them.
How much income do you need in retirement? For arguments sake, lets say you need to pull 36K per year from your 401K or 3K per month. Lets also assume that you current contribute (with any match) 1,000 per month. Please adjust to your actual numbers accordingly.
One option would be to pull out 48K right now and put it in a money market. With your contributions, I would then put half into the money market and half into more aggressive investments. In 10 years, you would have about 110K in your money market account. You could live off of that for three years. If the market does crash, this should give you plenty of time to recover.
Taking this option opens you to another risk, which is being beat up by inflation or lack of growth on a nice pile of cash. My time frame is not that different then yours (I am about 12 years away), but am still all in stocks. Having 48K and more with not opportunity for growth frightens me more than any temporary stock market crash.
Having said that I think it would be a horrible mistake to get completely out of stocks. Many of those destroyed in 2008 also missed 2012 through 2014 which were awesome years. So do some. Set aside a year or three of income in something nice and safe. Maybe one year of income in money market, one in bonds and preferred stocks, and one in blue chips.