A 64-year-old man is admitted to the hospital due to intermittent palpitations and lightheadedness for the past several days. The patient has had no chest pain or shortness of breath. He has a history of coronary artery disease with prior myocardial infarction and percutaneous coronary intervention. Medications include metoprolol, lisinopril, aspirin, clopidogrel, and rosuvastatin. Echocardiogram reveals mild left ventricular dilation, a left ventricular ejection fraction of 30%, and no major valvular abnormality. Serum potassium is 4.2 mEq/L, and magnesium is 1.9 mg/dL. On day 2 of hospitalization, the patient develops sudden-onset and sustained palpitations. Blood pressure is 122/60 mm Hg and pulse is 120/min. He is alert and does not appear to be in acute distress. The lungs are clear bilaterally. ECG rhythm strip is shown in the exhibit. Which of the following is the best next step in management of this patient