「になる」Become something
「ように」”Do (something) like a…"
「ことになる」Express an involuntary event
「ようにする」Cause a change in circumstance