Glupton + 1.
I dislocated mine years ago, and it popped out 4 times afterwards, doing daft stuff, like reaching out for stuff and just moving it the wrong way. Had a bankart repair done last December, and it is absolutely solid feeling now. My other shoulder has wobbled a couple of times, but has never come out, but I’m pretty positive it will at some point 🙁
You can’t put a figure on how long you’ll be off the bike for, as we’re all different, and there are varying degrees of damage. After the repair last year,I was off the bike for about 4 weeks all in, and back off road another 2 weeks after that.
You’ll know yourself how you feel, and when’s the time to come back. Take it easy, and don’t rush.