Better to replace it altogether and do it right the first time, and sell the broken part as salvage and help someone else out possibly. No sense trying to bodge it back together, have it work for 1-2 months then have to take the entire vacuum apart to repair it again. When I fix my vacuums, I make sure to fix everything in one go when it's opened up for the surgery, and then it will never have to be repaired again other than a belt change for the next dozen years or more.