When you acidify a solution, you increase the concentration of hydronium ions and while doing so decrease the concentration of hydroxide ions.
This decrease in the concentration of hydroxide ions cause the equilibrium of the hydrolysis(both complete and partial) of the sulphide ion to shift forward.
$$\ce{S^2- + 2H2O <=> H2S + 2OH-}$$
This forward shift in equilibrium decreases the concentration of sulphide ions in the solution and thus helps in increasing the solubility of the sulphide salts.
The solubility is increased because all the sulphide added to the solution doesn't stay in the form of sulphide ions, a major portion of it is converted to $\ce{HS-}$ and $\ce{H2S}$. This drives the solubility equilibrium of the salt forward.
$$\ce{MS <=> M^2+ + S^2-}$$
This method saves $\ce{FeS}$ from precipitating in acidic conditions but for $\ce{ZnS}$ this is not sufficient. $\ce{ZnS}$ is just too insoluble in water to salvage it by acidification, a fact which is also evident from it's very low $K_{\mathrm{sp}}$. Chemists have also used this fact to seperate mixtures of zinc and ferrous sulphide.
To precipitate ferrous sulphide, you will need to add an alkali to the solution which will alter the aforementioned equilibriums in just the reverse way.