Drain and rinse the canned yams very well. Do not use the syrup.
Add the yams to a large bowl.
Add the orange juice, salt, cinnamon, and brown sugar and mash everything together with a potato masher.
Add the softened butter and mix again until combined.
Fold in the chopped pecans (and raisins if using).
Stir in the whisked eggs.
Spray a crockpot with cooking spray and add the sweet potato mixture.
In a separate bowl, mix brown sugar, flour, chopped pecans, and butter until crumbly.
Sprinkle the topping evenly over the sweet potatoes.
Cover and cook on HIGH for 3–4 hours until set and hot.
Serve warm.