$384 = 3\times 100 + 8\times 10 + 4\times 1$
$=(3\times 100 + 8\times 10 + 4\times 1)+0$
$=(3\times 100 + 8\times 10 + 4\times 1)+100-100$
$=(3\times 100+100) +(8\times 10-100) + 4\times 1$
$=4\times 100 -2\times 10 + 4\times 1 = 4\overline{2}4$
In essence, what happened is that we take the tens-complement of the digit we wish to modify and increase the digit to its left by one. If we wish to do this for multiple digits, its best to approach from right-to-left.
$1988=1\times 1000 + 9\times 100+8\times 10+8\times 1$
$ = 1\times 1000 + 9\times 100 + 8\times 10+8\times 1 + 100-100$
$= 1 \times 1000 + (9\times 100+100)+(8\times 10 - 100)+8\times 1$
$=2\times 1000+0\times 100-2\times 10+8\times 1$
$=2\times 1000+0\times 100-2\times 10+8\times 1+10000-10000$
$=1\times 10000 +(2\times 1000 - 10000)+0\times 100 - 2\times 10+8\times 1$
$=1\times 10000 - 8\times 1000 + 0\times 100 - 2\times 10 +8\times 1$
$=1\overline{8}0\overline{2}8$
With practice, one can do this without going through each step like I did above and arrive quickly at an answer. E.g. rewriting $3334$ would be $1\overline{7}4\overline{7}4$. Take the tens-complement of the digit you wish to change and increase the digit to its left by one.