Homemade sun-dried tomatoes will certainly go bad at some point. Storing the tomatoes in oil, well-sealed in the refrigerator with fresh garlic cloves can help them last a little longer. I keep homemade sun-dried tomatoes in the refrigerator for a couple of weeks or freeze them. Always check the date stamped on the container for store-bought sun-dried tomatoes.