Taking down Devil Doom in Shadow the Hedgehog comes down to targeting his weak point and staying mobile. You'll need to hit his eye, but be ready—after each successful hit, his head switches position.
Keep chasing the shifting head and strike again whenever you get an opening. One important tip: stock up on plenty of rings before you engage. Without enough rings, taking a hit will revert you to normal form, and you could end up falling to your doom. Come prepared, keep moving, and you'll wear him down.