Check the shift cable adjustment on the engine. It may be possible that the neutral safety switch is still depressed (telling the ECM that it is in neutral) even when shifted into forward. If that is the case, when you reach some rpm (guessing at around 2000 - 2500 or so), it thinks you are in neutral and tries to limit your rpm. If you continue accelerating, the shift lever may finally move enough to tell the ECM that the motor is in gear and all runs well.
If that is not the case and the motor has been running good up until now go back to basics.
You have changed the fuel tank, but have you changed the high pressure fuel filter? Checked/changed the spark plugs? Drained the vapor separator and flushed the motor's fuel system?
Is the motor is pumping water?
I assume no alarms are going off and you have a green light (indicating oil pressure) and no other lights, when there is an issue
if you have done all the basic stuff, then it is time to take it to a dealer. If it is a 2010, it is still under warranty. It is also possible that the throttle position sensor, IAC or other sensor is not working correctly.
Mike