
What you refer to are opposite reactions.. Limestone is usually a Calcium carbonate, which if incorporated into an acidic soil will tend to raise the pH, make it less acidic.
Lime-sulfur is a fungicide product and not usually used as a soil amendment. But soil sulfur or sulfate forms of other minerals, if used as soil amendments will tend to reduce the pH to a lower, more acidic level.
This is a simplified answer and there are other factors to consider. It is always best to look at the whole picture of the soil health, get a soil test and an Rx recommendation for mineral and biological amendments from a soil analyst, based on actual deficiencies found with site-specific needs considered.