Could you be having an absence seizure? The "walking along and suddenly everything has changed and you don't know how long you spaced out" thing sounds like it could be an absence seizure.
Another type of seizure is called a focal impaired awareness seizure. It can cause confusion after it ends, which could explain why you got lost in a familiar street.