How long can i cook a bone in Pork Shoulder?
Don't cook by time, cook it until it's done (you can slide a probe into all parts of the shoulder with practically zero resistance. That said, 16 hours for a 4.5 kg (10 pound) shoulder doesn't seem outrageous. In fact, at those cooking temperatures, I would be surprised if your pork was done cooking by then. Bear in mind, I am assuming that your intention is to make pulled/shredded pork.

I would suggest starting the shoulder in your smoker, and transferring it to your oven to finish, rather than vice versa. The reason you would want to do this is because you can kick up the temperature in your oven to speed cooking and get past the stall. Temperature control will be much easier in the oven, and it will be the latter part of cooking where you would want to vary temperatures. Otherwise, you are dooming yourself to being stuck waiting an extra 3-4 hours waiting for your shoulder to finish cooking.