A worker with the District Department of Transportation has been arrested for allegedly attempting to sell narcotics while on duty.