Who was to be named Zacharias until his mother intervened?
Correct! We see in the first chapter of Luke that Zacharias was struck mute because he did not believe the words of Gabriel, the angel. When John the Baptist was born, his family wanted to name him Zacharias, but his mother, Elizabeth, intervened and said he was to be named John.
Read the whole story in Luke 1.