Japan is a island country, or in other words an archipelago. Hence, it was hard for other imperial countries to invade Japan. Japan also isolated itself from the rest of civilization.
A third party is a part that doesn’t fit the criteria of belonging to the two dominant parties of the US. In simple terms, it is any party that isn’t the two dominant parties (republican and democratic).