I put on a throttle position sensor and my car wont stay crunk? on 1999 Mazda Protege

my car did crank at one point but it wont stay crunk it just cuts off

Asked by for the 1999 Mazda Protege
U need further testing , 1999 , bad fuel pumps maybe..