Narrative:

Taxi out and performed normal engine run up. Pre-takeoff checks were all good. Cleared for takeoff and on climb out the right engine surged then lost power. I performed the boxed memory items and noticed the right engine fuel flow almost at 295 pph; I turned off the right aux fuel pump realizing that it had malfunctioned and switched into high flooding the engine with fuel. After switching the pump off; the right engine regained power. I then called the tower and requested to return to the field; explaining that the right engine had failed; but I was able to restore power. I entered the left downwind and landed normally and taxied to the gate.

Google
 

Original NASA ASRS Text

Title: Light twin Captain reports engine failure shortly after takeoff. Noticing high fuel flow to the engine; the aux fuel pump is turned off and the engine regains power. Flight returns to departure airport.

Narrative: Taxi out and performed normal engine run up. Pre-takeoff checks were all good. Cleared for takeoff and on climb out the right engine surged then lost power. I performed the boxed memory items and noticed the right engine fuel flow almost at 295 PPH; I turned off the right aux fuel pump realizing that it had malfunctioned and switched into high flooding the engine with fuel. After switching the pump off; the right engine regained power. I then called the Tower and requested to return to the field; explaining that the right engine had failed; but I was able to restore power. I entered the left downwind and landed normally and taxied to the gate.

Data retrieved from NASA's ASRS site as of July 2013 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.