The one-time vaccination can prevent painful rashes, scarring and nerve damage, said federal officials.