Set a rack in the middle of the oven. Place a 10-inch cast-iron skillet on the rack and preheat the oven to 400°F.
Whisk the cornmeal, flour, baking powder, salt, and sugar, if using, in a large bowl.
In a separate bowl, whisk the eggs and milk together, then whisk in the 4 tablespoons of melted butter. Pour the wet mixture into the dry mixture and fold just until no dry streaks remain.
Use oven mitts to set the hot skillet on a heatproof surface. Add the remaining tablespoon of butter and swirl to coat the bottom and lower sides. Pour in the batter and return the skillet to the oven.
Bake for 22 to 26 minutes, until the edges are golden brown and a toothpick inserted in the center comes out clean or with a few dry crumbs.
Cool in the skillet for 10 minutes. Cut into wedges to serve warm, or turn the cornbread out onto a rack to cool completely for dressing.
For dressing, break the cooled cornbread into rough chunks and spread them on a rimmed baking sheet to dry overnight. For same-day use, dry the pieces at 250°F for 25 to 35 minutes, turning once, then cool completely before using.