Different words in different states
States name impaired-driving offenses differently. Some use DUI for nearly everything, some use DWI, and others use terms like OUI or OWI. A few use more than one term to separate levels of seriousness or to distinguish alcohol from drugs. The label alone does not tell you how serious the charge is in that state; the statute behind it does. For that reason, comparing your situation with a friend's case from another state often produces the wrong expectations, even when the paperwork looks similar. Drug-related impairment adds another layer, since states describe and prove it in their own ways.
How New York draws the lines
In New York, the formal charges are DWI and DWAI rather than DUI. DWI generally covers intoxication shown by a measured level or by the driver's condition, while DWAI covers a lesser degree of impairment and has separate forms for alcohol and for drugs. The alcohol version of DWAI is a traffic infraction rather than a crime, while DWI and the drug-related forms are criminal charges. Higher measured levels and repeat cases can lead to aggravated or felony charges. That structure matters because the charge you face shapes what resolutions are possible and what record follows you.
When the stop happened away from home
If you were stopped in one state but are licensed in another, the case is handled under the law of the state where it happened, and the result is usually reported to your home state. Your home state may then apply its own consequences to your license, based on how it treats the out-of-state offense. Court appearances may be required in the state of the stop, although some matters can be handled through counsel there. Tell us both states at the outset, along with any license you have held elsewhere, so we can see which rules apply and where your attention should go first.