stint

(n) a period of time spent at a particular activity  
It seems like everyone's done a stint in the food industry before moving to more lucrative professions.