James will appear in federal court in the afternoon.
[Ads /]
Prosecutors say James set off smoke bombs before he opened fire on a northbound N train as it approached the Sunset Park station in Brooklyn on April 12.
Ten people were wounded.
Several other people were treated for smoke inhalation.
[Ads /]
James faces a possible sentence of life in prison.
ALSO READ | Machete attack on NYPD officers near Times Square investigated as possible terrorism
19-year-old machete attack suspect charged with attempted murder
----------
* Get Eyewitness News Delivered
* More New York City news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube