Here, $\vec{F} = -\hat{i}+2\hat{j}+3\hat{k}\,N$
As the body moves a distance of $4\, m$ along $y$-axis,
$\therefore \vec{d} = 4\hat{j}\,m$
Work done by the given force is
$W = \vec{F} \cdot \vec{d} = \left(-\hat{i}+2\hat{j}+3\hat{k}\,N\right)\cdot\left(4\hat{j}\,m\right)= 8\,J$