Like a typo, but written.
Usually happens when you are thinking of something other than what you're writing about. You start writing out the word and then finish it with something completely unrelated.