A federal judge declared a mistrial Thursday in a high-profile foreign bribery sting case that marked the first large-scale use of undercover techniques in a Foreign Corrupt Practices Act investigation.