Narrative:

After departing ord runway 27L, we experienced a right engine failure when about to level at 5000 ft MSL. Flight declared an emergency. Right engine secured in accordance with engine fire/damage/separation checklist. An overweight landing was required to ord runway 14L.

Google
 

Original NASA ASRS Text

Title: FLT CREW OF MD80 RETURNS TO ORD AFTER ENG FAILED UPON LEVEL-OFF AT 5000 FT MSL. RETURNED TO ORD AND LANDED OVERWT.

Narrative: AFTER DEPARTING ORD RWY 27L, WE EXPERIENCED A R ENG FAILURE WHEN ABOUT TO LEVEL AT 5000 FT MSL. FLT DECLARED AN EMER. R ENG SECURED IN ACCORDANCE WITH ENG FIRE/DAMAGE/SEPARATION CHKLIST. AN OVERWT LNDG WAS REQUIRED TO ORD RWY 14L.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.