Emergency run in 6th gear Master2 2009 2.5 107Kw

I have problems with my Renault Master II Built 2009 107Kw. At the operating temperature it always goes into the emergency run as soon as I want to switch to the 6th gear and accelerate. Error memory says fuel sensor. I then changed the rail pressure sensor and at the occasion also the totally rusty diesel lines from the diesel pump to the rail and the injection nozzles. But did not succeed with it, because the error comes again and again. The problem tr When I’m driving underboard in the 4th and sometimes also in the 5th gear. If I go off after the cold start and always make sure that he doesn’t run underboard, I can drive several hundred kilometers without problems, just stop in the 6th gear. As soon as the error occurs, he goes back to the emergency run at every opportunity if I don’t watch out. However, I already had real problems with overtaking a truck on the country road. There he is when accelerating next to the truck. I have to turn off the ignition and start again. If it only goes into the emergency run, it will only be enough for a short ignition and again, then the error will be gone. If I keep the engine on track and let the engine run over 2600 revolutions, it will be possible to pull it in every gear up to a good 4000 revolutions without any problems. and in the 5th gear also run at 135 km/h according to the speedometer. With a slight gradient also in the 6th gear, but before slight climbs he goes there immediately into the emergency run. I switch back to the 5th gear before it runs through the mountain. What can it still be besides the rail sensor?