I've read the following two theorems.
Theorem. A compact connected metric space whose points are cuts points with the exception of at most two is homeomorphic to the unit interval.
Theorem. A compact connected metric space which becomes disconnected upon removing any two points is homeomorphic to the unit circle.
Are there analogous characterizations for $S^n$ using higher-connectedness, i.e triviality of homotopy groups?
In 2-dimensions you might want the Kline sphere characterization theorem.