Complex sentence: After the war, the five aircraft were returned to TWA, restored by Boeing with new B-17G Flying Fortress wings and engines, and B-29-type electronics.
Split into simpler sentences: After the war, the five aircraft were returned to TWA, restored by Boeing. They had been restored with new B-17G Flying Fortress wings and engines and B-29-type electronics.