318 won't stay running

D

don't smell gas i messed with the wiring and after it cooled off it fired right up

Guess you know where to start looking...
Sort of. "It cooled off" sounds like component overheating, maybe. Messed with the wiring...well if it were that, it'd fire right up with no needed cool down time.