95 Mustang 50 with manual trans engine speeds up fast and slows down a couple times in row and check engine light flashes?

if havent checked already look at the throttle body behind the butterfly valve and see if you have a carbon build up which in turn screws with throttle position sensor giving it a mis-reading