I doubt very much that your "dragon's dying". Constantly feeding oversized foods will lead to health problems. A one off situation involving largely soft bodied insects like locusts isn't likely to be a fatal one. Keep an eye on his behaviour and bowel movements. Any huge changes, post again. If you suspect mild impaction, the advice above is good stuff.
If this is abnormal behaviour for your dragon, and said behaviour continues, follow the advice above, to be on the safe side. If he fails deficate regulary, becomes lethargic and/or darkens his beard, a vets visit will be in order.
What are your temps in the tank, & what type of thermometer do you use to measure the temps with?
As suggested, use some sugar free applesauce, canned pumpkin, & chicken or turkey babyfood along with either some mineral oil or olive oil & try to get 1-2ml's per day for him with a plastic syringe or plastic dropper.
Try to give a bath as well, & massage his belly on the right side starting at the arm pit all of the way down to the vent, gently.
Do NOT give anymore feeders until you are certain that he has passed everything successfully.
I just set Swordtail's timer for his bath and paused it so I could actually fill his soaking bowl up and he crawled over my phone and canceled the timer
Mirage came out of brumation on April 26. He was doing great. On May 2 he started acting funny. We just redid his tank, and he keeps going into one of his hides. He just lays there. He shows no intrest in food. HELP!