Narrative:

Enroute ZZZ to ZZZ1 in IMC conditions; a right fuel annunciator illuminated. After turning on the boost pump; changing fuel tanks and checking gauges the fuel pressure and fuel flow continued to be erratic and unreliable. I then proceeded to secure the right engine; [advised] ZZZ center and returned to ZZZ where VFR conditions existed and emergency personnel and equipment were available.

Google
 

Original NASA ASRS Text

Title: PA-31 Captain reported an issue with the right engine fuel pressure during cruise. Captain secured the engine and returned to the departure airport.

Narrative: Enroute ZZZ to ZZZ1 in IMC conditions; a right fuel annunciator illuminated. After turning on the boost pump; changing fuel tanks and checking gauges the fuel pressure and fuel flow continued to be erratic and unreliable. I then proceeded to secure the right engine; [advised] ZZZ Center and returned to ZZZ where VFR conditions existed and emergency personnel and equipment were available.

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