A study of over 280,000 adults found that the shingles vaccine reduced dementia risk by 20%, with a stronger effect in women.