Let $$\gamma(t)=p+Re^{it}=-4+e^{it}, \text{ where } 0\leq t \leq 2\pi.$$
$$f(z)=\frac{1}{z+4}$$
Thus $$\gamma'(t)=ie^{it}$$
$$\begin{align}\int_\gamma f(z)dz&=\int_{0}^{2\pi}f(\gamma(t))\gamma'(t)dt\\&=\int_{0}^{2\pi}\frac{1}{-4+e^{it}+4}(ie^{it})dt\\&=\int_{0}^{2\pi}{e^{-it}}(ie^{it})dt\\&=\int_{0}^{2\pi}idt\\&=it\Big|_0^{2\pi}\\&=2\pi i\end{align}$$