Preheat the oven to 425º F and lightly grease a 9x13 baking dish with cooking spray or oil.
Place the cubed potatoes into a large pot and cover with water. Bring to a boil over high heat and continue to boil for 15 to 20 minutes until the potatoes are fork tender (easily pierced with a fork).
Drain the water from the potatoes and place them into a large bowl and beat with a handheld mixer until they become smooth.
Add the butter, brown sugar, sugar, and cinnamon and continue to mix until fully combined.
Add the eggs, milk, vanilla, and salt and beat until the mixture is fully incorporated. Pour the mixture into the prepared baking dish.
Prepare the topping. In a medium bowl mix the brown sugar, flour, salt, and cinnamon until combined. Add the pecans and toss to coat. Mix in the melted butter.
Sprinkle the mixture on top of the sweet potatoes.
Bake until the center is set and does not jiggle, about 45 to 55 minutes.