NEW YORK (Reuters) - In a decision that could reshape how electronic books are sold on the Internet, a federal judge ruled that Apple Inc conspired to raise the retail prices of e-books, and ordered a trial on damages.