A former Mesa police officer was indicted Monday on two counts of endangerment after he allegedly shot at a vehicle during a 2022 traffic stop.