When it comes to mechanical aspects of writing, few details seem to trip writers up as much as capitalization: when to use uppercase letters, and when to use lowercase letters.
Specific job titles preceding a person’s name are capitalized, but descriptions are not. For example, “Marketing Director John Doe” is correct, but “Marketing Chief John Doe” is not, unless “marketing chief” is John Doe’s actual title. After a name, titles are lowercase regardless of whether they are specific or general: “John Doe, marketing director at ABC Industries.”
If you modify even a specific job title, such as noting that someone no longer holds a position, what appears to be specific becomes an apposition, part of a job description rather than a title: “former marketing director John Doe.”