Rinse and scrub the sweet potatoes, leaving the skins on, and pierce each 3 or 4 times with a fork. Cut any oversized potato in half crosswise so all cook evenly.
Place the potatoes in a large stockpot, cover with cold water by 1 inch, and bring to a boil. Reduce to a simmer, partially cover, and cook 35 to 45 minutes until a fork slides in with almost no resistance.
Preheat the oven to 350°F (175°C) and toast the chopped pecans on a rimmed baking sheet for 5 to 6 minutes until nutty and a shade darker. Butter the 9x13-inch baking dish.
Combine the cooled toasted pecans, brown sugar, and flour in a bowl, then stir in the melted butter until the mixture looks like damp, chunky sand and holds together in clumps.
Lift the potatoes out with tongs, drain for 2 minutes, and cool 10 to 15 minutes. Slip the skins off with your fingers or a paring knife and trim any tough stem ends.
Mash the peeled potatoes until mostly smooth, then mix in the softened butter, granulated sugar, cinnamon, nutmeg, salt, milk, and vanilla. Let the mixture sit 5 minutes before stirring in the beaten eggs.
Spread the warm filling into the buttered dish in an even layer, then sprinkle the pecan streusel evenly over the top without pressing it down.
Bake on the center rack for 30 to 35 minutes, until the topping is deep golden brown and the center barely jiggles. Tent with foil if the pecans darken too fast.
Let the casserole rest for 10 minutes before scooping, so the filling finishes setting and holds its shape on the plate. Serve warm.