Rayson Smith, 20, was sentenced to two years in prison and two years post-release supervision under a deal struck in May when he pleaded guilty to a felony count of second-degree attempted burglary stemming from the Jan. 31 episode.

Accomplice Quentel Leigh, 18, also faces two years behind bars and two years post-release supervision under the same plea deal when he returns to state Supreme Court, St. George, Sept. 3 for sentencing in front of Justice Leonard P. Rienzi.

Prosecutors charged the pair and a third defendant, Harold Johnson, 55, also of Brooklyn, with trying to rip off an Englewood Avenue home by flashing a FedEx envelope addressed to the homeowner.

But after Uri Cohen and his wife, Dalia, kept them out, the thieves fled in a stolen Enterprise van whose logo they had covered with FedEx logo magnets.

Cops tracked down the trio down after Cohen noted the van's license place and called 911.