Hubble Space Telescope Faint Object Spectrograph and ground-based observations of the broad absorption line quasar 0226-1024