You can drive the rear output shaft out of its housing with a dead blow hammer or a brass drift. Carefully put aside the speedometer gear drive and shim pack before using a bearing puller to remove the rear output shaft bearing. It's a stubborn monkey, but it'll come free with a good bearing puller like this Matco unit shown. You'll want a similar clamshell-type bearing puller because there's little room to get a standard three-jaw puller under the bearing. Your local auto parts store should rent or sell clamshell bearing pullers for the job.