Randy Newman wrote the theme song for the 1990 TV series Cop Rock and also composed some songs for it, including "She Chose Me," which was used in the pilot episode. Sung by Ron McLarty in the show, the song is used in a scene where his character is thinking about how lucky he is that his wife chose him.
Cop Rock was exactly what you think: a musical about cops. Steven Bochco, who did the successful police dramas Hill Street Blues and NYPD Blue, created the show, but unlike his previous efforts, it was a spectacular failure.
Newman recorded his own version on his 2017 album Dark Matter.