Cessna 340/340A
Flight Crew Flight Instructor; Flight Crew Instrument; Flight Crew Multiengine; Flight Crew Commercial
Flight Crew Last 90 Days 112; Flight Crew Total 4486; Flight Crew Type 377
Distraction; Situational Awareness; Workload
Aircraft Equipment Problem Less Severe; Deviation - Altitude Excursion From Assigned Altitude; Deviation / Discrepancy - Procedural Published Material / Policy; Inflight Event / Encounter Fuel Issue
Air Traffic Control Provided Assistance; Flight Crew Overcame Equipment Problem; Flight Crew Requested ATC Assistance / Clarification; Flight Crew Returned To Clearance; Flight Crew Landed As Precaution
Human Factors; Aircraft
I was transferring fuel from aux to main noted 10 gallons left; then began to get vectors to final XX after changing approaches from [RWY] XY; At which time was busy setting up for the approach when right engine fuel ran out I immediately switched back to the main; right engine did not start back up as soon as I had expected. I told Center I lost right engine and they gave me priority on approach. At that time I think I dipped below altitude by a couple hundred feet and not sure if I drifted off course but I promptly got back to altitude and on course; at that time the engine came back and I continued down ILS to Runway XX and told Center we were on the ground safe.
Cessna 340 pilot reported an engine failure due to improper fuel system operation.