So I'm an IMG who will be looking for a job in Research in a few months and I was wondering, when working in one of these jobs how long does it usually take to get published?
We don't know, you'd have to ask the ppl that will be the PI's or primary authors on the paper. Sorry for the non-answer but the range could literally be 1 month to 5 years. It depends on your situation. No average time from other people's experiences would be reliable for your situation.
Echoing the above. This varies so much from person to person, lab to lab, area of research, etc, that no one can give you a reasonable estimate. The range would literally be days to decades to never.