It looks like the switch from common knowledge to Big Pharma take over was around 1995.
In the United States, chickenpox parties were popular before the introduction of the varicella vaccine in 1995.[13][20][21] Children were also sometimes intentionally exposed to other common childhood illnesses, such as mumps and measles.[22] Before vaccines became available, parents regarded these diseases as almost inevitable.[22]