Step 1: Start from the force law:
Two point charges in vacuum exert a force $F = \dfrac{q_1 q_2}{4\pi\varepsilon_0 r^2}$ on each other. Make $\varepsilon_0$ the subject:
\[ \varepsilon_0 = \frac{q_1 q_2}{4\pi\, F\, r^2} \]
Step 2: Get the SI unit:
Put in the SI units of each quantity: charge in C, force in N and distance in m. This gives C$^2$ divided by (N m$^2$), that is
\[ \text{C}^2\,\text{N}^{-1}\,\text{m}^{-2} \]
Using $\text{N} = \text{kg m s}^{-2}$ and $\text{C} = \text{A s}$, the unit can also be written as $\text{A}^2 \text{s}^4 \text{kg}^{-1} \text{m}^{-3}$.
Step 3: Get the dimensions:
Write every quantity in base dimensions: $[q] = [AT]$, $[F] = [MLT^{-2}]$, $[r] = [L]$. Then
\[ [\varepsilon_0] = \frac{A^2 T^2}{M L T^{-2} \cdot L^2} = M^{-1} L^{-3} T^{4} A^{2} \]
Check with the powers: $L$ is $L^{-1-2} = L^{-3}$ and $T$ is $T^{2+2} = T^{4}$.
Final Answer:
The unit of $\varepsilon_0$ is $\text{C}^2 \text{N}^{-1} \text{m}^{-2}$ and its dimensional formula is as boxed.
\[ \boxed{[M^{-1} L^{-3} T^{4} A^{2}]} \]