Deputy shoots suspect after foot chase