Totally dependent on the details. A rogue planet could be any mass from Pluto to 10 Jupiter masses - quite different gravitationally.
And exactly what it's trajectory was makes a huge difference. If it came barreling into the inner system it could cause chaos, particularly a large body.
It would certainly have to pass thought the Oort cloud and possibly the Kuiper Belt. Any appreciable mass doing would disturb many, many objects which have the potential to fall into the inner solar system (or not). So that alone could be dangerous for us (or not). It's a dice throw - quite random from our point of view.
Stable is relative. If it disturbed orbits in such a way that in a hundred thousand years Earth would become uninhabitable that might be not too bad - a lot can happen to a species in that time scale, especially one armed with nukes. :-) So this isn't a question with a single answer.