BEIJING—China’s first large passenger jet rolled off the assembly line on Monday after years of delays, bringing Beijing’s dream of developing a rival to Boeing Co. and Airbus Group SE closer to reality.

Still, the single-aisle C919 airliner won’t be delivered to airlines for at least another three years, highlighting the difficulties China has faced in becoming a global player in aviation.

Developed...