We designed a randomized double-blind placebo-controlled clinical trial enrolling 1,440 high-risk ICD patients who will be treated with ranolazine or placebo in addition to optimal medical therapy to test the hypothesis that late sodium current blockade contributes to significant reduction in the risk of arrhythmic events or death in high-risk ICD/CRT-D patients.