A federal officer shot a person in Minneapolis after being attacked while trying to make an arrest, officials say, a week after an agent fatally shot a woman.