A: Operating without headlights on at night might be grounds to pull someone over, but that alone isn't the basis for an arrest. There would need to be evidence of impairment or intoxication to give an officer probable cause for arrest on a DUI charge.
A: The court that has jurisdiction to hear a criminal case is the court in the county/city/town that the alleged crime occurred in. So if the crime occurred in Puerto Rico, it could not be transferred to somewhere outside Puerto Rico.
A: It will depend on the situation, including if you were under the influence of any drugs or alcohol, if you were driving in an aggressive or illegal way and if you left the scene. You should speak to a criminal defense attorney immediately to discuss your particular situation.