Jeep Liberty 2004

Gas tank was replaced today, but car doesn’t start or run like it used to. Should I allow time for engine to adjust or should it not matter? My car almost stopped in the middle of traffic on half a tank of gas in it. I paid $500 to get the gas tank replaced but I feel cheated. Should I be worried ?