Stability results for second-order evolution equations with switching time-delay