jb weld is srsly THAT strong. i jb welded up a cog to a stripped hub and rode it for about eight months until i taco'd the wheel.
i really recomend it. mix the two parts in a plastic bag... sandwich style. then cut a hole in the corner and apply the mixed jb weld to cog and hub. put it on as tight as you can with your hand and then let it sit overnight.
tomorrow you have a new(ly refurbished) hub.