Call

Hg(ClO4)2 + Na2S = HgS + 2NaClO4

n(Hg(ClO4)2)= 41.98g/399.49g/mol = 0.105 mol

n(Na2S) = 6.256g/78g/mol = 0.08 mol

Hg(ClO4)2 in the excess, Na2S reacts completely.

n(HgS) = 0.08 mol

m(HgS) = 0.08mol*232.66g/mol = 18.6 g - mass of the solid precipitate.