They share a network, so the contestants on “MasterChef” (Fox at 8 p.m.) must cook a meal for the cast and crew of “Glee”; cast members Cory Monteith, Matthew Morrison and Jane Lynch are this week’s judges.

RETURNING SHOW: Heather Locklear joins the cast in the third season of legal dramedy “Franklin & Bash”(TNT at 9), starring Mark-Paul Gosselaar and Breckin Meyer as two goofy street lawyers who join a very serious law office. Locklear makes her debut by humiliating the duo on national TV, which impresses their boss so much that he immediately hires her as a partner at the firm.

In the penultimate episode of canceled comedy “How to Live With Your Parents (For the Rest of Your Life)” (ABC at 9:30), Polly helps her mom land a movie audition.

RETURNING SHOW: “Futurama” (Comedy Central at 10) returns for the second half of the seventh season, and its final run of episodes. Hank Stuever reviews it on Page C1.

RETURNING SHOW: Betty White and the “Hot in Cleveland” (TV Land at 10) gang kick off Part 2 of Season 4 with a live show (at least for the East Coast — West Coasters will get a live-to-tape version) that includes guest star William Shatner and others. In the episode, the ladies team up to get Elka out of trouble when her illegal activities cause some danger.

RETURNING SHOW: Unlikely trio of roommates — Phil, Haskell and Stuart — officially become a bromance as “The Exes” (TV Land at 10:30) returns for Season 3. In addition to improving their dating lives, they do nothing but cause trouble for their landlord and roommate, Holly.

RETURNING SHOW: Cedric the Entertainer is changing things up on the second season of his comedy “The Soul Man”(TV Land at 11), in which he plays a R&B superstar-turned-minister, Rev. Boyce Ballentine, who relocates with his wife to St. Louis. The end of each episode will now feature a two-minute stand-up set from Cedric, relating to that week’s show.

Actor Jeff Daniels is on “Late Show With David Letterman” (CBS at 11:35), along with comedian Jim James.

NBC’s David Gregory and the winner of “The Voice” visit “The Tonight Show With Jay Leno” (NBC at 11:35).

— Emily Yahr