The "Twilight Zone" Marathon (Tuesday-Wednesday, July 4-5, Syfy): You unlock this door with the key of imagination when midnight signals the first second of July 4. That's when Syfy begins a 29-hour marathon of classic episodes from Rod Serling's beloved 1959-64 anthology series. Among the gems in this year's collection are "The Monsters Are Due on Maple Street," "A Stop at Willoughby," "Nothing in the Dark" (with a young Robert Redford), "Escape Clause," "The Howling Man," "The Last Rites of Jeff Myrtlebank," "To Serve Man," "Time Enough At Last" and "Nightmare at 20,000 Feet."
"Independence Day" Marathon (6 a.m. Tuesday, July 4, E!): You get eight consecutive showings of the 1996 science-fiction thriller about an alien force attacking Earth. Will Smith, Jeff Goldblum and Bill Pullman star.
"Rocky" Marathon (3:30 p.m. Tuesday, July 4, Sundance Channel): This "Rocky" romp features the first five films with Sylvester Stallone as boxer Rocky Balboa.
"Macy's Fourth of July Fireworks Spectacular" (8 p.m. Tuesday, July 4): Brad Paisley, Sheryl Crow, Jennifer Lopez, John Mellancamp and Hailee Steinfeld are among the musical artists lined up for NBC's annual special that features a fireworks display over New York City's East River.
"A Capitol Fourth" (8 p.m. and 9:30 p.m. Tuesday, July 4): John Stamos is the host for the 37th annual live broadcast from the West Lawn of the U.S. Capitol. In addition to the fireworks extravaganza, the PBS program includes performances by Blues Brothers Dan Aykroyd and Jim Belushi, the Beach Boys, the Four Tops, Broadway star Phillipa Soo ("Hamilton") and country star Trace Adkins.
"Boston Pops Fireworks Spectacular" (8 p.m. Tuesday, July 4, Bloomberg Television): A longtime Fourth fixture on CBS, this music-fireworks special featuring the Boston Pops Orchestra settles into a new home this year. Melissa Etheridge and Andy Grammer are among the scheduled performers.
"Yankee Doodle Dandy" (8 p.m. Tuesday, July 4, TCM): Jimmy Cagney tap-danced his way to an Oscar in this 1942 film biography of "Born on the Fourth of July" Broadway star George M. Cohan, who wrote such red-white-and-blue standards as "You're a Grand Old Flag," "Over There" and "The Yankee Doodle Boy."
"1776" (10:15 p.m. Tuesday, July 4, TCM): The 1972 film version of the Broadway musical about the Declaration of Independence stars William Daniels as John Adams, Howard da Silva as Benjamin Franklin and Ken Howard as Thomas Jefferson.