Court documents say boyfriend admitted firing fatal shot