Narrative:

Leveled off at 10000 ft. Engine surged from .92 mach to 1.8 mach, then back to .92, with yawing of aircraft. Verified right engine had failed. Declared an emergency with ATC and returned to dfw. Landing weight was 124000 pounds.

Google
 

Original NASA ASRS Text

Title: AN MD80 FO RPTED THAT THE R ENG FAILED SHORTLY AFTER TKOF FROM DFW.

Narrative: LEVELED OFF AT 10000 FT. ENG SURGED FROM .92 MACH TO 1.8 MACH, THEN BACK TO .92, WITH YAWING OF ACFT. VERIFIED R ENG HAD FAILED. DECLARED AN EMER WITH ATC AND RETURNED TO DFW. LNDG WT WAS 124000 LBS.

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.