Sherri Shepherd will appear in the final season of "How I Met Your Mother."

"The View" co-host shared a photo from the set of the CBS sitcom.

According to TVLine, "How I Met Your Mother" was looking to cast the role of Camille (now renamed Daphne), a woman who sits next to Marshall (Jason Segel, pictured above with Shepherd) on a flight from New York to Minnesota. Shepherd will appear in the 1-hour Season 9 premiere and is set to recur.

Shepherd's other TV acting credits include "30 Rock," "How In Cleveland" and "Sherri."

The final season of "How I Met Your Mother" will take place over one weekend. Wayne Brady will recur as James Stinson, Barney's brother and Cristin Milioti has been made a series regular. Milioti appeared in the Season 8 finale and was revealed to be the titular "Mother."

The final season of "How I Met Your Mother" premieres Monday, Sept. 23 at 8 p.m. ET on CBS.

Loading Slideshow...
  • "Scandal"

    Scandal's table read for the season premiere was great! Wonderful to see everyone -- <a href="http://www.shondaland.com/photos/380549" target="_hplink">Shondaland on WhoSay</a>.

  • "The Vampire Diaries"

    "Back to School - first day of shooting The Vampire Diaries Season 5 w/ miss <a href="https://twitter.com/CandiceAccola" target="_blank">@CandiceAccola</a> ! :) <a href="http://www.ninadobrev.com/photos/374553" target="_blank">http://say.ly/RyP6eoo </a>" -<a href="https://twitter.com/ninadobrev/status/355085024216879104" target="_blank">Nina Dobrev</a> (@ninadobrev)

  • "How I Met Your Mother"

    "How I Met Your Chair <a href="https://twitter.com/search?q=%23HIMYM&src=hash" target="_blank">#HIMYM</a> <a href="https://twitter.com/HimymCraig/status/355151298993213440/photo/1" target="_blank">pic.twitter.com/sk2t5lXLLn</a>" -"HIMYM" co-creator <a href="https://twitter.com/HimymCraig/status/355151298993213440" target="_blank">Craig Thomas</a> (@HimymCraig)

  • "Elementary"

    "Here we are in LAAAAANDAN. <a href="https://twitter.com/jonnyjlm/status/354938280036401152/photo/1" target="_blank">pic.twitter.com/0SKEnbVYDR</a>" -<a href="https://twitter.com/jonnyjlm/status/354938280036401152" target="_blank">Jonny Lee Miller</a> (@jonnyjlm)

  • "Elementary"

    "Moriarty visits set... <a href="https://twitter.com/ELEMENTARYStaff/status/354684101976027136/photo/1" target="_blank">pic.twitter.com/UTcZXFYjkh</a>" -<a href="https://twitter.com/ELEMENTARYStaff/status/354684101976027136" target="_blank">"Elementary" writers</a> (@ELEMENTARYStaff)

  • "Elementary"

    "Shooting in Trafalgar Square. Oh, hello fans. #Elementary <a href="https://twitter.com/ELEMENTARYStaff/status/354990765916708864/photo/1" target="_blank">pic.twitter.com/fOLNkqoobj</a>" -<a href="https://twitter.com/ELEMENTARYStaff/status/354990765916708864" target="_blank">"Elementary" writers</a> (@ELEMENTARYStaff)

  • "How I Met Your Mother"

    "We are back but not in the apartment <a href="https://twitter.com/alydenisof/status/355080007175008257/photo/1" target="_blank">pic.twitter.com/buRLMr3wTn</a>" -<a href="https://twitter.com/alydenisof/status/355080007175008257" target="_blank">Alyson Hannigan</a> (@alydenisof)

  • "Parenthood"

    "In honor of marriage equality, we put our Parenthood character cards in rainbow order. <a href="https://twitter.com/SarahWatson42/status/349946247462928384/photo/1" target="_blank">pic.twitter.com/VeQLZYkOLo</a>" -"Parenthood" writer <a href="https://twitter.com/SarahWatson42/status/349946247462928384" target="_blank">Sarah Watson</a> (@SarahWatson42)

  • "Criminal Minds"

    "As promised. A set pic from 1st scene Season 9 EP 901 <a href="https://twitter.com/LLPOS/status/354625584871116800/photo/1" target="_blank">pic.twitter.com/Ei4yNhiCKH</a>" -<a href="https://twitter.com/LLPOS/status/354625584871116800" target="_blank">"Criminal Minds" co-executive producer Harry Bring</a> (@LLPOS)

  • "Criminal Minds"

    "First day of shooting #CriminalMinds. First shot on our jet with the team. #CM9" -<a href="http://instagram.com/p/bkOx5xLg5o/" target="_blank">Shemar Moore</a> (@shemarfmoore)

  • "Criminal Minds"

    "When we're not chasing UNSUBS we are getting our GOOFBALL ON!!!! We LOVE ALL OUR FANS!!! Thank You for ALLOWING us to scare you, creep you out, and entertain you for 9 years!!!!! CM fans are the BEST!!!!" -<a href="http://instagram.com/p/bltJL4Lg7Z/" target="_blank">Shemar Moore</a> (@shemarfmoore)

  • "Criminal Minds"

    "Shoot Day 1 on the set of Criminal Minds Season 9!!!" -<a href="http://instagram.com/p/bkKYSWrgzf/" target="_blank">Shemar Moore</a> (@shemarfmoore)

  • "The Good Wife"

    "Our new office PA, Duncan, is all dressed up for the start of S5. <a href="https://twitter.com/search?q=%23thegoodPup&src=hash" target="_blank">#thegoodPup</a>" -<a href="https://twitter.com/GoodWifeWriters/status/355002970406006784" target="_blank">"The Good Wife" writers</a> (@goodwifewritersroom)

  • "The Good Wife"

    "Don't mind me...just tryin' to sneak a peek at S5 for <a href="https://twitter.com/search?q=%23thegoodfans&src=hash" target="_blank">#thegoodfans</a>" -<a href="https://twitter.com/GoodWifeWriters/status/354627058695028738" target="_blank">"The Good Wife" writers</a> (@goodwifewritersroom)

  • "The Good Wife"

    "Director, Robert King & DP Fred Murphy Settin'em up to knock'em out in S5" -<a href="https://twitter.com/GoodWifeWriters/status/354617778910658560" target="_blank">"The Good Wife" writers</a> (@goodwifewritersroom)

  • "Parenthood"

    Lauren Graham, Peter Krause and Mae Whitman on the "Parenthood" set.

  • "Nashville"

  • "Nashville"

  • "Nashville"

  • "Nashville"

  • "Elementary"

  • "Elementary"

  • "Elementary"

  • "Elementary"

  • "Elementary"

  • "Elementary"

  • "Elementary"

  • "The Good Wife"

  • "The Good Wife"

  • "The Good Wife"