Zachary Levi as Shazam