Catalysis of the transfer of a myristoyl group to a sulfur atom on a cysteine residue of a protein molecule.