$$\int^4_{-4}\cos{x}\delta(\sin{x}) \,{\rm d} x$$
I used the identity
$$\delta(\sin{x}) = \sum\frac{\delta(x-n)}{\frac{d}{dx_i}\sin{x}}$$
Then
$$\int^4_{-4}\cos{x}\,{\rm d} x (\delta(x)+\delta(x-\pi)+\delta(n+\pi))$$
And now I am stuck. Can this be directly computed?
The composition formula should be $$ \delta(g(x))=\sum_{x_i:g(x_i)=0}\frac{\delta(x-x_i)}{|g'(x_i)|}. $$ Despite writing the signed version in a strange way, you apparently used the correct version with absolute value.
Next use $$ \int_a^b f(x)\delta(x-x_i)dx = f(x_i) $$ if $a<x_i<b$.