A shooting investigation on I-94 prompted the closure of two ramps to the expressway during rush hour Friday afternoon, state police said.