Narrative:

Shortly after takeoff at about 500 AGL I felt a strong yaw to the right and realized I had just lost my right engine. I feathered the engine and reported to ATC that I had lost my engine and I needed to come back around and land on the departure runway. At this time I declared an emergency. ATC offered me a different runway but I declined due to not being in position to land on that runway. ATC asked me to climb to 7;000 ft but because of my single engine performance I was only able to climb to 6;500 ft before my descent to land. I proceeded to land with no issues and taxied back to the cargo ramp single engine. I was told that mechanics later found that I lost my engine due to a faulty fuel controller.

Google
 

Original NASA ASRS Text

Title: A PA31 engine quit after takeoff because of a faulty fuel control. The pilot declared an emergency and return to land on the departure runway.

Narrative: Shortly after takeoff at about 500 AGL I felt a strong yaw to the right and realized I had just lost my right engine. I feathered the engine and reported to ATC that I had lost my engine and I needed to come back around and land on the departure runway. At this time I declared an emergency. ATC offered me a different runway but I declined due to not being in position to land on that runway. ATC asked me to climb to 7;000 FT but because of my single engine performance I was only able to climb to 6;500 FT before my descent to land. I proceeded to land with no issues and taxied back to the cargo ramp single engine. I was told that mechanics later found that I lost my engine due to a faulty fuel controller.

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