Agatha Christie's short story "The Rajah's Emerald" featured a mild-mannered clerk called "James Bond".
Ian Fleming himself took the name from the Real Life author of a book on birds.
Place example: Katherine Patterson, author of Bridge to Terabithia asserts she "just made up" the name of the kids' imaginary world, but she also acknowledges she did read C. S. Lewis's The Chronicles of Narnia growing up and thinks maybe she was subconsciously thinking of the island from the books, Terabinthia.
The children's book Blubber stars a girl named Jill Brenner. Jill Brenner is also the name of the protagonist of Nothing Human, in which she's targeted by a psychopath who tortures and mutilates his victims as on offering to a Mayan god. Oh, and her boyfriend committed suicide just before the book's beginning.
Michael Crichton named the retired L.A. police captain / mentor figure from his novel Rising Sun John Connor. Given the number of cyborgs Skynet dispatched to the Los Angeles of that era, and their M.O. of searching for their targets in the phone book, a meeting would have been inevitable.
There is a popular series of urban fantasy novels by Patricia Briggs whose protagonist is named Mercedes "Mercy" Thompson. There is another slightly less well-known but still successful series of urban fantasy novels by Toni Andrews whose protagonist is named Mercedes "Mercy" Hollings, and every novel in Andrews's series features the word "Mercy" as part of the title.
Aside from involving interstellar travel, Andre Norton's Star Born and George Zebrowski's Omega Point Trilogy have only one thing in common that I know of: in each, one of the heroes is named Raf Kurbi.
J. K. Rowling confirmed in an interview that, yes, she named Filch's cat Mrs. Norris after the Mrs. Norris from Mansfield Park. This would seem to require in-universe that Filch is a Jane Austen fan...
Probably unintentional, but Hufflepuff Zacharias Smith should not be confused with a more lovable dirty coward, who both older and a Doctor. Doctor Zachary Smith.
Little Monsters. The short-lived franchise featuring a bunch of underaged miscreants created by Danger Mouse creator Tony Garth should not be mistaken for a franchise that features literal monsters that's created by long-time kids books author Mercer Mayer. The former was only popular in the UK and parts of Europe while the latter was only popular in North America tho.
Additionally, neither franchise should not be confused for Maurice Sendak's Seven Little Monsters, or the movie that's also called Little Monsters and starring Fred Savage which is neither related to Tony Garth's or Mercer Mayer's works.
Two characters are named Sabrina Bouvier - a child beauty queen that BSC meets in Little Miss Stoneybrook ... and Dawn, and later a classmate at SMS.
Lampshaded in Here Come the Bridesmaids! where the narrator acknowledges that both the BSC and the W♥KC have a regular sitting charge named Ryan De Witt, and no, they're not related.
This is the basis for the book The Other Wes Moore: One Name, Two Fates. From Amazon: "In 2000, Wes Moore had recently been named a Rhodes Scholar in his final year of college at Johns Hopkins University when he read a newspaper article about another Wes Moore who was on his way to prison. It turned out that the two of them had much in common, both young black men raised in inner-city neighborhoods by single mothers. Stunned by the similarities in their names and backgrounds and the differences in their ultimate fates, the author eventually contacted the other Wes Moore and began a long relationship."
John Steakley's novels Armor and Vampires both feature characters named Felix and Jack Crow. Vampire$ features the caveat "This Jack Crow is no other Jack Crow; this Felix is no other Felix" on the copyright page.
In Wuthering Heights, one character mentions being amused by another, less educated character's attempts to "read Chevy Chase". A Shout-Out to a 1980s comedian would be rather out-of-place in Wuthering Heights even if it weren't written ninety-six years before he was born, but it turns out that it's a reference to The Ballad of Chevy Chase.
The older-children's book Follow My Leader is about a boy who becomes blind and learns how to work with a seeing-eye dog. The boy's name? Jimmy Carter. (The book was published decades before James Earl Carter became President of the United States.)
A Song of Ice and Fire has Davos Seaworth, who is nicknamed "The Onion Knight" because he gained his noble status by supplying a castle with foodstuffs during a siege. The Final Fantasy JRPG series has a weak job class called "Onion Knight", named so because in Japanese culture, onions are often used as a symbol of inexperience.
Troy Denning has written two characters with the name of Saba. The first was a human in one of his Dark Sun books who dies as a bit character. He reused the name in his Star Wars novels, as a lizard girl who has become an important secondary character.
There's a book called Rescuing Seneca Crane by Susan Ruholt, centered around a character who is completely different in every way from Seneca Crane of The Hunger Games.
The number of people who have released autobiographies titled My Story is far too numerous to list on this wiki.
US pop starlet Jessica Simpson shares her name with a girl who gets kidnapped in Laurie R. King's Sherlock Holmes novel The Beekeeper's Apprentice.
US singer-songwriter Natalie Cole shares a name with a character in WJ Burley's DS Wycliffe novel, Wycliffe in Paul's Court.
US science fiction writer and mathematician Rudy Rucker served an extremely brief stint in jail, during which time he shared a cell with an unrelated prisoner called Other Rucker.
Patricia Wentworth's detective novel, Miss Silver Intervenes, features a character called Mary Bell, who shares a name with a British convicted killer, and an anime character who is the protagonist of Floral Magician Mary Bell.