Preheat your oven to 350°F (175°C).
In a large skillet, melt the butter over medium heat. Add the chopped onion and celery, and sauté until softened, about 5-7 minutes.
Add the minced garlic, sage, and thyme to the skillet, cooking for an additional 1-2 minutes until fragrant.
In a large bowl, combine the cubed bread, sautéed vegetables, salt, and pepper. Toss gently to mix everything evenly.
Pour in the broth gradually, stirring until the mixture is moist but not overly soggy. You want the bread to soak up enough liquid to bind without losing its texture.
If using, fold in the sausage or mushrooms and dried fruits at this point, combining well.
Transfer the mixture to a greased baking dish, spreading it evenly. Cover with foil and bake for 25 minutes.
Remove the foil and bake for another 15-20 minutes to allow the top to brown and crisp.
Once done, remove from the oven and let it cool for a few minutes before serving.