It is the taper that is important as that holds tight to the hub to prevent wear, or should. If the keyway is bad, so probably is the taper, time to junk the axle shaft as another is cheaper and better than any repair. Check also the wheel hub, it may be bad too.