I assume that all manifolds are closed and connected (embedding in $\mathbb R^n$ or in $S^n$ is the same), but not necessarily orientable.

Concerning dimension 3, a famous [theorem of Wall](http://www.ams.org/mathscinet/search/publdoc.html?r=1&pg1=CNO&s1=175139&loc=fromrevtext) states that every closed 3-manifold embeds in $S^5$.

It is not possible to improve this result. A [theorem of Shiomi](http://projecteuclid.org/DPubS?verb=Display&version=1.0&service=UI&handle=euclid.ojm/1200783230&page=record) shows that there is no closed 4-manifold which contains every possible closed 3-manifold.

The question in dimension 4 seems more complicate. Since $4=2^2$, this is one of the dimensions where real projective plane $\mathbb R\mathbb P^4$ embeds in $S^8$ and not in $S^7$. Every <i>orientable</i> 4-manifold embeds <i> topologically </i> in $S^7$ by a [theorem of Fuquan Fang](http://www.ams.org/mathscinet/search/publdoc.html?amp=&loc=refcit&refcit=1286925&vfpref=html&r=3&mx-pid=1923991).