Ryan Geoffrey Cole, 31, allegedly shot his neighbour Natalie Jane Frahm, 34, in the head and chest as she pulled up in her car outside her house on Robb Place, South Mackay, on Wednesday afternoon.
James Trevor McGill, 66, who was in the street visiting his elderly mother, raced over to help Ms Frahm and was allegedly also shot in the chest.
Ms Frahm died at the scene while Mr McGill was taken to hospital in a serious but stable condition.
Cole has been charged with murder and attempted murder.