First, welcome to Golf Forum. Sorry to hear you broke your driver, but if you're handy fixing it is pretty easy. The best way to pull the old shaft is with a heat gun. Modern clubs are held in place with an epoxy that turns loose at about 250* and the heat gun will do the trick nicely without discoloring your club face like a torch would. Just put the heat gun on high and point it right at the hozzel, you can put it right against the hozzel without worrying about damaging your head. Since the shaft is broken so close to the head, you'll need a shaft puller like the one Golfsmith offers: Golfsmith Broken Graphite Shaft Puller at Golfsmith.com
Secure the head in a vise (with some sort of cushioning of course), screw the puller in the broken shaft and heat it up, apply pressure to the puller and it should come out in a few minutes. Once out it's a good idea to use a drill bit sized exactly the same size as the hozzel opening to clean all the left over epoxy out of the club head hozzel. The epoxy won't melt, it will crystalize and break apart, so don't be expecting anything oozy. You will melt your ferrel so make sure when you get a new shaft, you get a new ferrel. You'll also need some two part epoxy and a little acetone to clean up the epoxy that ozzes out when you put the new shaft in. Golfsmith has all the tools and supplies you'll need. Good luck and let us know how it turns out.