Prepare the Oven: Preheat the oven to 350°F (175°C). Grease a 9 × 13-inch baking dish with butter or cooking spray.
Cook the Sweet Potatoes: Peel and cube the sweet potatoes. Boil in a large pot for 15-25 minutes, or until fork-tender. Drain thoroughly and let them rest for 5 minutes.
Mash the Sweet Potatoes: Transfer the cooked sweet potatoes to a large mixing bowl. Add the butter and mash until smooth or slightly chunky.
Make the Filling: Add the eggs, milk, brown sugar, granulated sugar, vanilla extract, salt, and cinnamon. Mix until well combined, then spread evenly into the prepared baking dish.
Prepare the Pecan Topping: Combine the chopped pecans, flour, brown sugar, and salt in a separate bowl. Add the melted butter and mix with a fork until crumbly.
Assemble and Bake: Sprinkle the pecan crumble evenly over the sweet potato filling. Bake for 35-40 minutes, until the filling is heated through and the topping is golden brown. Add marshmallows in the last 10 minutes.
Rest and Serve: Remove from the oven and let the casserole rest for 10-20 minutes before serving warm.