What could cause dizziness and eyes twitching back and forth?

Nystagmus. You are describing vestibular symptomatology, and the eye problems are part of this. Could be due to inner ear or central brain problems. See your doctor, and likely also, an otolaryngologist. This needs diagnosis, and treatment.