A man who died after fatally shooting two police officers and a paramedic in a wooded Minneapolis-area neighbourhood wasn’t legally allowed to have guns and was entangled in a years-long dispute over the custody and financial support of his three oldest children, court records show.