One of three men arrested for carjacking and shooting an undercover Dallas police officer was sentenced to prison.