For decades, scientists have known that there was a weird link between shingles and dementia. But recent studies have made the connection clearer than ever—and established that the shingles vaccine may prevent the cognitive decline.