A historic and at times tumultuous presidential campaign will come to a close on Nov. 5. But the outcome may not be known on election night.