Season 11, Episode 11
When Homer gets a bucket stuck on his head after a prank-gone-wrong, a preacher encourages Bart to remove the offending article by power of faith. To everyones amazement it works, which leads to Bart thinking he is a miracle worker.
See here for more details.
Notes & Screenshots: Lord Heath