A man has been charged after an elderly man walking on the footpath was struck and killed by a car in Sydney’s southwest.