2006 Kodiak 400 help please

Newb alert!
Thanks for reading.
New member, my name is Don. I live in Columbia, SC.
I recently purchased a nice, clean, 2006 Kodiak 400 4×4.
I am having a problem with the engine losing power, cutting off and failing to re-start.
a little more info- The engine starts right up and runs as good as I would expect from a carb (I’ve had several honda atvs, carbs and FI). The problem can occur cold, warm or hot. Sometimes it will run all day w/o issue. When it dies it goes from running great then seems to completely lose spark or fuel abruptly, dies and will not re-start. If you try to crank it the starter spins over as normal (kill switch kills starter not just spark fwiw). If you wait a while it starts at the first touch of the button and runs great. Thatmay take 10min to overnight.
I realize I am likely losing spark or fuel. I have also wondered if debris in the carb or on a filter could be starving the engine for fuel.
Any help for a starting point would be appreciated. I am reasonable mechanically inclined. This machine is in good shape and I really like it when it runs well.

I will take any help I can get. If you know of a reasonable mechanic not too far away I’m not too proud to pay someone else to fix it.

Thanks!