How much length are we talking. Less than an inch or more. Take the sprocket and weld a tube in the middle and take another sprocket and weld it on the end. Making sure everything lines up. A machine shop could do it if you can’t. Bolt it right back on the shaft and it’s out as far as like