The sages of Safed (also spelled Zefat, Szfat, Tzfat and Sfat) flourished in the sixteenth century. Past PaleoJudaica posts on Isaac Luria and Lurianic Kabbalah are here and links.
In Jewish magic, healing spells are common, going back to late antiquity. But I don't know offhand if any include spells to ward off plague.
The Talmudic-era magical handbook Sefer HaRazim has healing rites for individuals; rites for foreknowledge of coming disasters, including abundant death among mortals (presumably plagues); and a spell to protect cities from wild animals and floods. It has nothing specific about protection from plagues.
Visit PaleoJudaica daily for the latest news on ancient Judaism and the biblical world.