A man is to stand trial next year accused of murdering a woman weeks after he allegedly attempted to kill her.