Attorney General Dan Rayfield says the Oregon Department of Justice will open a formal investigation into the Border Patrol shooting that left two people injured in Portland.