Predator 500 runs then dies

Hi guys new to the forum I have a question that’s probably been discussed but i could not find it anywhere so here goes.

I have a 2006 Predator 500. Ran fine then all of a sudden it bogged out and died then wouldnt restart. At first it turned over but wouldn’t fire. Fuel was low so I filled it and let it sit. The next day it started perfectly fine but would start then die. The quad is new to me and it looks like it has an aftermarket pipe and intake. Carb also looks new. I’m thinking possibly it may be carb related. It did also start backfiring before it died the first time the issue started. If anyone could help or point me in the right direction I would greatly appreciate it.