Try plugging the toaster into another outlet that you know is working... or test the outlet with a lamp to see if the outlet has power. Many kitchen outlets are GFI outlets with a circuit breaker on the outlet. If the toaster is plugged into a GFI outlet, push the reset button on the outlet. With your power going on and off, a breaker may have tripped cutting the power to the outlet.
If the outlet is powered and your toaster is toast. Buy a new one... unless there's some type of fuse you can replace.
All the Best!!!!