Mr. McCloskey knows that his odds of winning the June 6 primary are long , but he is driven by the same fire that moved him during his 15 years in Congress that began in 1967 when he defeated Shirley Temple Black in a special election for a House seat representing a prosperous and liberal district in the area around Palo Alto now known as Silicon Valley .