This sounds quite a bit like Roger Zelazny's 1973 novel To Die in Italbar, previously identified (although not accepted) here.
The plot summary, per Wikipedia:
Heidel von Hymack, known to all as "H", is a man with the power to cure people of incurable diseases. He travels from world to world healing people by touching them. However his healing powers have a dark side: after a while they reverse and he becomes a spreader of deadly diseases. Avoiding contact with others is almost impossible because of his celebrity, so his most dedicated followers tend to die horribly. He does not know why he has this power, though he dreams of a mysterious "Lady" who rules his life. In fact he has been accidentally joined to a deity of the Pei'an religion, a goddess of disease and healing whose changing moods determine whether he saves or kills.