Meet John Doe, starring Gary Cooper & Barbara Stanwyck, 1941

Meet John Doe, 1941
A film by Frank Capra
“A man needing money agrees to impersonate a nonexistent person who said he’d be committing suicide as a protest, and a political movement begins.” (IMDB)